Jump to content

Let me understand if it's theme bug or not


revhosting

Recommended Posts

Hello. Please let me understand what's the problem with themes. I have 2 System themes:

  • Default: it's default, enabled and selected automatically with hostname mypanel.example.com. On this theme i have the logo and favicon of my company
  • Reseller: it's default reseller team and enabled with no hostname. On this theme i have default logo and favicon of TCAdmin 2

User (Basic) see "Default" as theme and Reseller see "Reseller". What's the problem? Logo and favicon. In both cases they see TCAdmin 2 logo and favicon and it's the same for Admin role... ??? Basically the theme are working properly (User -> Default, Reseller -> Reseller, Admin -> Default) but there's no way to show the right logo and favicon with default theme. For User and Admin the panel have to show my logo and favicon. I hope that it's clear.

 

p.s. I can see Location: User_Themes/1/ef21b6f5-1703-46e0-9217-9724808f6965 on both my System themes. I don't get the point... they're System themes so why they're in User_Themes folder?

Edited by revhosting
Link to comment
Share on other sites

What your saying is your want it always to display your logo?

 

Just edit the theme.

 

If you want the reseller to have his own logo, you should copy the theme and edit it for them.

 

Just edit the theme.

 

If you want the reseller to be shown your logo and his sub users to be shown his/her's logo.

 

Do some work with the themes.

 

I'm not sure what kind of bug you are talking about. Heck I cant even tell what you are trying to do.

Link to comment
Share on other sites

Problem solved thanks to Luis. Not a bug. In the header change:

 

<img style="margin-top:23px;" src="%Theme.VirtualPath%Images/Logo.png">

 

to

 

<img style="margin-top:23px;" src="%CustomTheme.VirtualPath%/CustomLogo.png">

 

p.s. I never changed my header so maybe the first string is the default value

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 113 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use