Wednesday 26 May 2010 12:10:40 am
Looks like you are working on the wrong template: The code you display here is from the pagelayout. This is actually rendered after the particular content area, therefore you need to consider pagelayout your framework,whereas everything underneath override/templates is meant to be a template for each of your content classes. In your case the frontpage.tpl is where you should add momentum. in frontpage.tpl you should be able to do do as i suggested above. The attribute_view_gui function is not available in the framework. The framework basically makes sure that everythinng which is chucked together in the contentarea may be places correctly within the framework, so you can include a top navi, left nav, footer and similar. Also this enables you to activate caching basied on who is logged in.
|