alinford Posted August 21, 2013 Share Posted August 21, 2013 I would like to hide the Change Password tab on clientareaproductdetails.tpl for a couple of products. I have taken several hacks at it, but cannot figure out how to make this happen. Here is the code that puts the tab in the tpl: {if $modulechangepassword}<li id="tab2nav"><a href="#tab2" data-toggle="tab">{$LANG.serverchangepassword}</a></li>{/if} 0 Quote Link to comment Share on other sites More sharing options...
alinford Posted August 21, 2013 Author Share Posted August 21, 2013 (edited) Figured it out: {if ($product eq "Widget")}{if $modulechangepassword}{/if} {else} {if $modulechangepassword}<li id="tab2nav"><a href="#tab2" data-toggle="tab">{$LANG.serverchangepassword}</a></li>{/if}{/if} Edited August 21, 2013 by alinford 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.