Thursday 23 June 2005 8:09:28 am
Hi Hans, I am not sure I understood you correctly. but no, the template does no attribute/node_view_gui within it. it is just plain HTML code output, switched and cycled through depending on the passed parameters. in classifiche.tpl (a template of my custom extension, invoked from url www.mysite.com/wt/classifiche)
{def $myfoo = 'HELLO!'} {include uri='design:pager.tpl' view_parameters = $view_parameters foo = $myfoo} first lines of footer.tpl (for debugging purposes):
<h1>{$foo|attribute(show)}</h1>
<hr/>
<h1>{$:foo|attribute(show)}</h1>
both lines show me the familiar "Attribute Type Value" line, but no content under it. I don't get the error "Unknown template variable 'foo' in namespace '' " now (I don't know why I don't get the error now), but no content / value passing yet.
|