Perhaps you could store your views in different folders per domain, i.e views/domain1/ and views/domain2
Then, in your beforeRender function of your AppController, switch the controller's viewPath depending on the domain. Something like that should work... On Dec 16, 1:42 am, Lloyd <[EMAIL PROTECTED]> wrote: > I'm just wondering, is there a simple or even feasible way of having > different views for 2 different domains - but the same model and > controller? Ie, both websites so to speak will be exactly the same in > content but just differ in appearance.. maybe I could do this in > routes.. I'm not sure.. any help would be awesome, thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
