Forums / Setup & design / Creating dynamic content
Carl Worswick
Wednesday 23 March 2005 3:16:19 pm
Having followed through the TSCM tutorial without any problems I now want to get my hands dirty but I've hit on a problem from the outset.
I want, like the TSCM, a banner, left menu and footer with some dynamic content in the middle. Creating the banner, menu and footer in the pagelayout.tpl has been no problem but I am a little confused on how the string {$module_result.content} will connect with my dynamic template which I have created in the overrides folder, can anyone clear this up for me?
What I don't want is to create an article and point the site.ini.append.php at it.
Thanks
Ćukasz Serwatka
Tuesday 29 March 2005 1:03:57 am
{$module_result.content}
Contains information about the result (and the result itself) generated by the module/view that was executed.
View templates are mostly associated with the content views. The content view is actually a presentation of the content or page requested by the user throught the URL. For example, mysite.com/content/view/full/2 refers to viewing the content in the full view of node 2.
You can create new view for /view/full/2 in Design->Templates->/node/view/full.tpl
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog