Code: Select all
{capture name=theHeight}
{content block="height" wysiwyg="false" oneline="true"}
{/capture}
{if $smarty.capture.theHeight ne ""}
{$height = "400"}
{else}
{$height = $smarty.capture.theHeight}
{/if}
{$height}
Code: Select all
{capture name=theHeight}
{content block="height" wysiwyg="false" oneline="true"}
{/capture}
{if $smarty.capture.theHeight ne ""}
{$height = "400"}
{else}
{$height = $smarty.capture.theHeight}
{/if}
{$height}