Jump to content

Change template by link.


robin31

Recommended Posts

Hello,

 

Is it possible for me to change the template by a link to the website?

 

Like

http://www.ituria.nl/klanten

This would give the default template.

 

 

http://www.Ituria.nl/klanten/order.php?step=2&pid=7&template=????

is this possible? I would love to have this function.

 

Im using version 3, the latest beta at the moment.

 

I hope this is possible.

 

 

Regards,

Robin van Raan

Link to comment
Share on other sites

  • WHMCS CEO

Hi Robin,

 

No, that is not possible because of the current caching system to improve performance, each time you change your template you must also empty the templates_c folder so a change in this way is not possible.

 

Matt

Link to comment
Share on other sites

I too, would love to see a feature like this....

Can we have multiple caching folders, and create a field in the database that says, if template x is being called to used caching folder x?

 

you can easily turn off caching if you know what your doing. I wouldnt mess with any of this though unless your experienced with smarty and programming in general. But since you asked that question in the way you did, im going to have to say no. =P

Link to comment
Share on other sites

I too, would love to see a feature like this....

Can we have multiple caching folders, and create a field in the database that says, if template x is being called to used caching folder x?

 

you can easily turn off caching if you know what your doing. I wouldnt mess with any of this though unless your experienced with smarty and programming in general. But since you asked that question in the way you did, im going to have to say no. =P

 

I am, but like all the code is encoded.

Cant you hook something up for that matt?

Would be a real cool and handy feature if your working with multiple designs.

 

Cheers

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