bluebier Posted September 7, 2014 Share Posted September 7, 2014 how I can disable only on product that 'password change' tab not visible. clientareaproductdetails.tpl original: {if $modulechangepassword}<li id="tab2nav"><a href="#tab2" data-toggle="tab">{$LANG.serverchangepassword}</a></li>{/if} mod: {if $packageid=="5"}{else}{if $modulechangepassword}<li id="tab2nav"><a href="#tab2" data-toggle="tab">{$LANG.serverchangepassword}</a></li>{/if}{/if} not working please help. Thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 7, 2014 Share Posted September 7, 2014 the idea is correct, but instead of using $packageid, you should use $pid... so the following should work... {if $pid=="5"}{else}{if $modulechangepassword}<li id="tab2nav"><a href="#tab2" data-toggle="tab">{$LANG.serverchangepassword}</a></li>{/if}{/if} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.