Re: Virtual Site Concept

2008-07-08 Thread Jonathan Snook
You could also do something like this in your AppController: if (env('SERVER_NAME') == 'abstractpaints.com') { $this->layout = 'abstract'; } Or even simplify it like, $this->layout = str_replace('.', env("SERVER_NAME")); (although my syntax is probably a little off there) On Tue, Jul 8, 20

Re: Virtual Site Concept

2008-07-08 Thread James K
This is why sub-domains exist. abstract.paintersgallery.com, impressionist.paintersgallery.com - making separate urls creates a problem that doesn't need to exist. On Jul 8, 5:54 am, mwcbrent <[EMAIL PROTECTED]> wrote: > Thanks in advance to anybody who expresses their ideas in response, > I'm so

Virtual Site Concept

2008-07-08 Thread mwcbrent
Thanks in advance to anybody who expresses their ideas in response, I'm sorta thinking this through as I write so any ideas are welcome: I am looking to create a system that creates new site iterations of itself. For example, an art gallery will have all of its impressionist paintings on (www.im