Wednesday 06 September 2006 1:19:52 am
Hi, I've just a problem with the functions <b>include</b> and <b>node_view_gui</b> and I can't figure it out. I'm making a generic system template wich is supposed to call a template via the function include. The path of this template is variable. So I have :
{def $t='my_path'}
{include uri=concat('design:',$t, '/test.tpl')}
{undef $t}
And it doesn't work. If I put the path directly : 'design/my_siteaccess/templates/test.tpl', it is working. By the way, I have the same problem with the view param of node_view_gui. When you put the value of the view param in an other variable, an error occured during the load of the template. But if you put the view value directly, it's working. Does someone have some piece of information about that ? Max
Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou
Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas
|