Help on {section show=$use_template_search}

Author Message

Softriva .com

Sunday 20 August 2006 2:19:37 am

Can someone explain this to me and direct me to the correction documentation page?

{section show=$use_template_search}
.
.
.
{/section}

Is {section} still valid or is it deprecated?

What does this mean

show=$....

 

Pascal von Büren

Sunday 20 August 2006 2:55:02 am

Hi,

your snippet is basically the same as:

{if $use_template_search}
...
{/if}

{section} is in fact deprecated, so you should use the code above (allthough it still works).

The meaning of this snippet is simply: execute this code only, if the variable $use_template_seach is set (in this case true()).

Marcin Drozd

Monday 21 August 2006 5:43:04 am

Hi
U can see the old documentation on http://ez.no/products/ez_publish/documentation/reference/template_functions/program_flow/section

http://ez-publish.pl

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.