Jump to content

customizinf smarty


Recommended Posts

I have to websites using the same whmcs engine.

depending on which website the order is placed I want a different header and footer to be displayed on the orderforms. I have been playing with this for a few days but I can't find a good way to do this.

basically the flow would be:

 

URL1 => places order => header.tpl => orderform with header1.html

URL2 => places order => header.tpl => orderform with header2.html

 

any ideas ?

Link to comment
Share on other sites

what you would do is create 2 different complete template folders. If you have one setup already, then just copy the whole folder and change what you want changed in the header/footer...

 

then when you use your links on the "other site"

use an address like this:

 

http://yourwhmcssite.com/order.php?systemtemplate=portal&a=add&pid=139

 

where the &a=add&pid=139 is the ending part to your sign up link found in the products page.

 

and the BOLD is the folder name of the new template you made for that site.

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