Share » Forums » Setup & design » {if $pagerootdepth|not}

{if $pagerootdepth|not}

{if $pagerootdepth|not}

Thursday 30 August 2007 3:00:26 am - 1 reply

Author Message

André R.

Thursday 30 August 2007 4:59:55 am

it will equal to this in php:

if ( !$pagerootdepth )
{
   $pagerootdepth = 1;
}

so the block runs if $pagerootdepth is false, 0 or not set ( but will throw a warning if it is not set, so it should have been set.)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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

36 542 Users on board!

Forums menu