Share » Forums » Developer » I can't use user parameters on templates

I can't use user parameters on templates

I can't use user parameters on templates

Friday 18 August 2006 3:03:47 am - 1 reply

Author Message

Claudia Kosny

Friday 18 August 2006 6:49:47 am

Hi Adolfo,

You just have a small mistake in your code, there should be no equal sign between the words sequence and array.
So the correct code is:

{foreach $list_items as $child sequence array( 'bglight', 'bgdark') as $style}
   {node_view_gui view=line content_node=$child style=$style}
{/foreach}

If something like this happens again, first have a look at the debug output. Although the messages are sometimes quite cryptic you still can usually see in which line an error occurs.

Greetings from Luxembourg

Claudia

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu