Hi Guys, I am working on a website idea that will need to have the layout change for each different domain that hits the main application. I had asked this question in the forums
http://www.symfony-project.org/forum/index.php/m/40732/?srch=change+layout+how#msg_40732 which points specifically to sfFilter, preExecute, and sfConfig I tried sfConfig::setLayout('myLayout.php'); in a myriad of places. To no avail. I also searched the forums and found this http://www.symfony-project.org/forum/index.php/m/32239/?srch=change+layout+how#msg_32239 The solution that was recommended was to put in the layout.php file <?php $sf_context->getCurrentViewInstance()- >setDecoratorTemplate('myOtherLayout.php') ?> Which failed. I don't understand why. I checked the API for sfView used getDecroatorDirectory() and know that the file was put in the right directory. so I don't understand why it wouldn't change my template Can someone point me in the right direction? James --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---