If you are perhaps referring to the global layout template housed under
apps/appname/templates ( as opposed to the ones in
apps/appname/modules/modulename/templates), then you can set the template
per action. Within your action use:
sfAction::setLayout('other_layout');
On Mon, Nov 23, 2009 at 2:5
Hi,
Watch your vocabulary. Symfony's one :
- Project
- Applications
- Modules
- Actions
You can dynamically change the template using the setTemplate method :
class myActions extends sfActions
{
public function executeIndex(sfWebRequest $request)
{
// same treatment
i
I need to have a different main template for just one action. Is that
possible, or do I have to create a complete seperate app for that?
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegr