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)
-   -   custom page php output (https://forum.x-cart.com/showthread.php?t=46403)

ian@rs.nl 03-20-2009 02:39 AM

custom page php output
 
I have a custom page which displays a list of all the partners of the site:

http://floorfriendly.rs.nl/pages.php?pageid=5

This is a static HTML list which I've made in the Admin. However, all these people are in the database too (thanks to the XAffiliate module) so I wondered if it would be a relatively simple task to output these users from within the static custom page?

Any advice most welcome!

Thanks

Victor D 03-20-2009 02:59 AM

Re: custom page php output
 
I'm not sure if this option is available in 4.1.3 but you should enable 'parse Smarty tags on static pages' option and modify your pages.php to pull all the required data from database and pass it to your page

ian@rs.nl 03-20-2009 03:23 AM

Re: custom page php output
 
Thanks Victor - this particular shop is 4.1.9 (we manage a couple) and the option is turned on. I'll have a go at playing with pages.php and let you know how I get on!

Cheers

(..I must update my signature........)


All times are GMT -8. The time now is 11:47 PM.

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