Removing Change Password tab from SolusVM Extended Module by ModulesGarden

shovenose

New Member
Verified Provider
It works quite well except I want to remove the Change Password tab.

ModulesGarden was no help.

zkegiNQ.png
 

XFS_Duke

XFuse Solutions, LLC
Verified Provider
Generally you could go in the plugins code and comment out the tab html code... Or is the module encrypted?
 

XFS_Duke

XFuse Solutions, LLC
Verified Provider
Hmm, not sure man... I would take a look at it for you, if you could send me the tpl file in a pm or something..
 

ryanarp

Catalyst Host
Verified Provider
You can do this by removing   {if $modulechangepassword}<li id="tab2nav"><a href="#tab2" data-toggle="tab">{$LANG.serverchangepassword}</a></li>{/if} from the clientareaproductdetails.tpl located in your default template files. Keep in mind removing this line will also remove it for shared hosting and other products. Possibly you could put in another syntax that says if product=x then don't show this if you only want it to be excluded on VPS Module. 
 

Marc M.

Phoenix VPS
Verified Provider
clientareaproductdetails.tpl


{if !$product|strstr:"VPS"}
{if $modulechangepassword}<li id="tab2nav"><a href="#tab2" data-toggle="tab">{$LANG.serverchangepassword}</a></li>{/if}
{/if}

Replace "VPS" with the common letters that youhave in every product for which you want to hide "Change Password". This is one simple way to do it.
 
Top