Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Wednesday 06 September 2006 1:19:52 am - 5 replies
Xavier Dutoit
Wednesday 06 September 2006 3:26:46 am
HI,
Nope, but what would you like to do ? Something that can't be done with the override directly ?
X+
http://www.sydesy.com
Maxime Thomas
Wednesday 06 September 2006 3:37:25 am
I just want to do something like this :
{def $v='listitem'} {node_view_gui content_node=$mynode view=$t} {undef $v}
This doesn't work.
I just want to pass a variable to the view param... I think it's a bug.
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
Wednesday 06 September 2006 3:40:40 am
I've done it for the view and it works.
Talking about bug, v != t , but I suppose that's a typo ;)
Wednesday 06 September 2006 4:01:24 am
Yes it was a typo. Cut'n'paste mistake.
And for the include ?
André R.
Wednesday 06 September 2006 4:11:13 am
I've used the following code without problems
{foreach $toolarray as $tool} {include uri=concat("design:", $tool[0]) mynode=$tool[1]} {/foreach}
where a sample of $toolarray would be:
$toolarray = array( array("menu_tree.tpl", 296), array("subfolder/agenda_list.tpl", 131))
where those templates would be in: design/mydesign/templates/menu_tree.tpldesign/mydesign/templates/subfolder/agenda_list.tpl
So I guess you see what your include problem is.. wrong paths..
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
You must be logged in to post messages in this topic!