Jump to content

previewing developed pages


Cain72

Recommended Posts

Hi guys,

 

just a quick one,

 

I want to preview certain pages within the system that i have edited, eg:

 

/cart.php?a=complete

 

(just fyi, its the page after a CC purchase etc ..)

 

currently im doing it the hardway, literally going through the steps creating and order using the CC proccess.. i guess hitting two birds with one stone, testing and editing at the same time.. i dont know if thats just plain dumb or im being overly efficient .. lol

 

i did try the following info from the doc's, perhaps im doing it wrong

 

You can preview your new template by specifying it using an url "on the fly" such as http://www.yourdomain.com/whmcs/?systpl=xxxxx where xxxxx is the name of your new template.

 

 

Can someone please point this over tired muppet in the right direction .. lol

 

 

 

Cain

Link to comment
Share on other sites

hey sent,

 

just trying to view complete.tpl its the page after purchase with a CC, "Order complete here is your order number & invoice etc ..." just cant seem to doit the usual way though.. i know for sure im doin something retarded lol

 

tried the /?systpl=complete and /?carttpl=complete no love..

 

Cain

Link to comment
Share on other sites

you mean this page: https://demo.whmcs.com/cart.php?a=complete

 

if you tried to open it directly it will redirect you to "/cart.php" even if you logged in and have products in shopping cart,

i think it expect some POST data to proceed!

 

if you need to stay in the same window without being redirected to the Gateway website you can Disable Javascript in your browser or comment out the redirection function (JS code) in complete.tpl file of your cart template.

 

i hope this help

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