Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: Render Custom template

$
0
0

Do you mean applied to every controller or do you mean every action inside a controller?

The action is what is rendered to a view, unless you perhaps set the variable in the ini() as a class variable like $this->template and them later in your actions use the variable to set the $this->renderWith().

Might be good to get more context around what you are doing. Can you post an example of your controller class? Use http://sspaste.com/ if it is a long example.

Here is a working example: http://sspaste.com/paste/show/53462bbdd8201


Posted to: Render Custom template | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles