This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » legacy support » symfony 1.2 » Chane action template name
Chane action template name [message #98870] Tue, 11 May 2010 14:26
letbeserious  is currently offline letbeserious
Messages: 97
Registered: May 2007
Hi all,
I have a project running for quite long time, and now project designer wants to update some template files, however, we don't want to change live files, we want to have separate version of each file and once it's fully done we will move it live.

The first idea I got is doing like this

public function executeIndex($request)
return sfView::SUCCESS.$request->getParameter('ver');

so my designer can access /index?ver=1.2
and indexSuccess1.2.tpl dev version of template will be rendered.
but I can't go through each module and action and adding this pieace of code, so the question is - anyway I can do this through events
or somehow else?

Thanks guys Smile
Previous Topic:admin gen module & I18N fields -> sF tries to save Object's Translation before Object...!
Next Topic:Dropdown onchange method
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software