| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Completed simple site map mod | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Completed simple site map mod
Hi guys,
I spent a while browsing the forums to find a simple site map mod that anyone was giving away, in the end i just decided to build one myself. You can check it out here at http://mooo.com.au/sitemap.php All it does is grab the active content of your speed bar, and all your active categories and products within them and display them as a list. Code is below, I've also got CDSEO Pro installed so if you don't have that you'll need to omit those references (and also think about getting it cause its a musthave mod). Create new file called sitemap.php: Code:
Create new file in skin1/modules/sitemap/sitemap.tpl: Code:
In skin1/customer/home_main.tpl add into the if satements: Code:
The mods working fine for me, I have not tested it on any other versions of x-cart (this is 4.1. Pete |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Completed simple site map mod
nice one works for me
__________________
X-Cart version 4.4.5 PHP 5.2.13 MySQL server 5.0.51a-community-log MySQL client 5.0.51a Web server Apache/2.2.8 (Unix) mod_ssl/2.2.8 Operation system Linux Perl 5.008008 http://temptinglysexy.co.uk |
|||||||||
|
|||
X-Cart forums © 2001-2020
|