Wednesday 22 March 2006 2:10:48 am
I've made a tab navigation with view_parameters variable pass in the url, this is my code:
{switch match=$view_parameters.tab}
{case match=1}
{def $tab1='class="active"'}
{def $tab2=''}
{def $tab3=''}
{/case}
{case match=2}
{def $tab1=''}
{def $tab2='class="active"'}
{def $tab3=''}
{/case}
{case match=3}
{def $tab1=''}
{def $tab2=''}
{def $tab3='class="active"'}
{/case}
{case}
{def $tab1='class="active"'}
{def $tab2=''}
{def $tab3=''}
{/case}
{/switch}
When click on a tab I pass to $view_parameters.tab the number of the tab I want to view , but in the first time $view_parameters.tab is empty and the debug show me this error: Error: eZTemplate @ design/tlf_ita/override/templates/full/product.tpl:3[0] Mar 22 2006 11:13:07
No such attribute for array(4): tab Choose one of following: offset, year, month, day
Antica Bottega Digitale srl
http://www.abd.it
|