Page 1 of 1

[invalid] contten block - default parameter

Posted: Fri Jul 13, 2012 3:43 pm
by Rolf
SVN rev. 8176

Added to template:

Code: Select all

{capture assign=foo}BLAH{/capture}
{content block="name" default=$foo}
Opening a new page gives block with content
$_smarty_tpl->tpl_vars['foo']->value

Re: [invalid] contten block - default parameter

Posted: Fri Jul 13, 2012 7:55 pm
by Rolf
{content block="name" default=$foo} is not valid!
{content block="name" default="blah"} is the correct methode.