This topic is locked

{if $xx}...{/if}

10/27/2008 3:24:37 PM
PHPRunner General questions
Pfeiffer author

Hello,
in my PHPR 4.2 list.htm pages I often used this syntax to manipulate the form.

{if $smartyvariable_xy} ... {/if}
is this still possible in 5.0 ?
Best regards

Uwe Pfeiffer

J
Jane 10/28/2008

Uwe,
no.

Use following syntax in the PHPRunner 5.0:

{BEGIN smartyvariable_xy}

...

{END smartyvariable_xy}


Then assign correct value in the List page: Before display event:

$xt->assign("smartyvariable_xy",$your_value);