This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » General » Assign {section} to a variable

Assign {section} to a variable

Assign {section} to a variable

Thursday 11 September 2003 3:23:38 pm - 2 replies

There's no obivous {section assign="myar"}, but is there some workaround for assigning an entire section contents to a variable instead of pitting is out?


Thursday 11 September 2003 6:14:05 pm

Use set-block.

{set-block scope=root variable=myvar}
Hi there! I am a test!

Now you have the string in {$myvar}.

Thursday 11 September 2003 6:31:40 pm

Perfect, thanks!


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

36 542 Users on board!

Forums menu

Proudly Developed with from