Wednesday 22 March 2006 2:10:48 am - 3 replies
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
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}
You must be logged in to post messages in this topic!