X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   adding new functions (pages?) to help.php? (https://forum.x-cart.com/showthread.php?t=15336)

bobbyftk 07-19-2005 06:04 PM

adding new functions (pages?) to help.php?
 
i searched for this topic, but couldnt find the answer to my question exactly.

I'm trying to add some features in my x-cart help area.

I want to add Order Tracking to the help area.
I could make it go to a static page but i would rather have the order tracking come up in the middle area like everything else on the site. I manually changed the "terms & conditions" to "return policy". which seems like a confusing way to do it.
is there a way to maybe edit help.php to bring up a new feature like order_tracking.tpl? and have it work just like the FAQ page or any of the others that come standard with xcart?

balinor 07-19-2005 06:15 PM

Try an embedded static page...you can add smarty into it and it will work however you want it to. It will also show up on the help menu by default.

bobbyftk 07-19-2005 06:23 PM

how would i do that?
sorry i havent used smarty or added it to anything. so this would be something new that i havent done (obviously)

so 1st step i create a static page of what i would want to load in the center table area. then?

balinor 07-19-2005 06:28 PM

Just add a new embedded static page....put some random text in there and you will see how it works.

Not sure what you have in mind for order tracking, but you can put whatever you need for code in the static page.

bobbyftk 07-19-2005 09:14 PM

oh ok. i didnt see the "static page" feature till now.
thanks!! that shoul do the trick.

this is what the order tracking would consist of

http://www.ftkonline.com/ordertracking.html

just uses ups webtools & the automatically generated Order Id to let customers track their packages without any manual work from the admin end.

bobbyftk 07-19-2005 11:09 PM

this worked great.

actually almost too perfect.

do these static pages automatically insert themselves as links in the HELP menu box?

I went to add them in there, and they were already there?!

bobbyftk 07-19-2005 11:33 PM

nevermind,

found the answer here

http://forum.x-cart.com/viewtopic.php?t=20604&highlight=static+pages+help

thanks!


All times are GMT -8. The time now is 11:21 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.