Share » Forums » Setup & design » view_parameters question for tab...

view_parameters question for tab navigation

view_parameters question for tab navigation

Wednesday 22 March 2006 2:10:48 am - 3 replies

Author Message

Kristof Coomans

Wednesday 22 March 2006 3:09:43 am

You will have to check first if the tab view_parameter has been set, if not then use some default value.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Daniele Nocentini

Wednesday 22 March 2006 3:24:07 am

yes all right! but exist a "isset" function? I don't find any more about to test if exist a variable.

Antica Bottega Digitale srl
http://www.abd.it

Kristof Coomans

Wednesday 22 March 2006 3:32:24 am

See http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_operators/variable_and_type_handling/is_set

You can use it like this:

{if is_set( $view_parameters.tab )}
...
{/if}

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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

36 542 Users on board!

Forums menu