TNiSolutions

Well-Known Member
May 30, 2011
50
0
56
It seems that the WebMail theme must be named exactly the same as the cPanel theme for it to work.

I have a reseller account with a custom header for the cPanel theme setup, however, this custom header also applies itself to the custom WebMail theme, because the webmail theme and cPanel theme are the same.

There are a few things that I don't want to appear in the WebMail theme, but are ok to show in the cpanel theme (like search box, theme switcher, account switcher etc)

I am wondering if I can use a cpanelif statement to remove said items from the webmail theme only. But I don't know what to use for the webmail variable, I want something like "if user is using webmail - then...."

Code:
<cpanelif $webmail> (not sure what to use for variable - this is the problem)
WebMail Content
<else>
cPanel Content
</cpanelif>