Jump to content

WHMCS ignoring template selection - won't switch templates after selecting a new one.


artistwebhost

Recommended Posts

I've checked this and it isn't the issue. I've noticed in the backend that the Admin area has capitalized the first letter of all of the template names in the selection dropdown menu even though all of the template names are in lower case in the directory and in the database. No matter what I do - It will not switch to my customized template.

Link to comment
Share on other sites

  • 1 month later...

have you cleared templates_c ?

 

If you have then open header.tpl in your own theme, add in, {debug}

 

If the debug box shows up your new template is being used. you can also verify that by looking through the debug page and find the variable $template, that will tell you the name of the templates being used.

Edited by CDJ Hosting
Link to comment
Share on other sites

the solution follows:

What I did initially is downloaded the default theme, re-named it to "default_mycompanyname"

Made changes to tpl files, saved files in corresponding folders, uploaded my new folder into templates folder.

In admin back-end, under general settings changed template to display my newly uploaded template. And nothing happened.

After hours of re-search, trying multiple things, lots of frustration just for try sake I renamed the "default_mycompany" folder containing my custom theme to simply "mycompany". and that fixed the issue.

So I am not sure if it was the "default_" or the double name or what, but for some reason that didn't allow the changes to display and it kept pulling files from the "default" folder.

Link to comment
Share on other sites

  • 11 years later...

I had similar issue when i uploaded the hostx 2.2.6 template.

The Hostx template will not show when i selected it as the default whmcs template.

Now Solution:

I was using the Twenty-One whmcs default template, so i renamed this Twenty-One template to Twenty-One_default, and then my Hostx theme worked perfectly.

Thank you!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated