|Chane action template name [message #98870]
||Tue, 11 May 2010 14:26
Registered: May 2007
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)
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?