Jump to content

How to override template theme?


dansgalaxy

Recommended Posts

Hey..

 

Okay so with new version i am now re-writing all my custom TPLs again! .. yay fun.

 

Is there a nice simple way to override the templates, e.g. add ?template=XXX to end of url to override?

 

I need something so i can compare one template to another without having to keep changing it in admin...

 

Cheers :)

Dan

Link to comment
Share on other sites

  • 9 months later...

The ?systpl= argument doesn't seem to be working for me.

 

1. I've created a copy of both my default and portal folders called custom_default and custom_portal, respectively.

2. Then, I've modified the header.tpl file in each dir by simply commenting out the nav bar.

 

However, when I view this via http://mydomain/whmcs/?systpl=custom_default or http://mydomain/whmcs/?systpl=custom_portal, there is no visible change. On the other hand, if I modify the header.tpl file in either the default or portal folders in the same way, the change is visible with or without the ?systpl=custom_xxxx.

It's as if it is completely ignoring this directive.

 

Any ideas?

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