X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Site map page (https://forum.x-cart.com/showthread.php?t=12393)

Maree 10-09-2005 01:32 AM

Just want to say Thank You to Fernando for this mod and his excellent instructions.

pauldodman 10-12-2005 04:50 AM

Hi,

As far as this mod goes, I have it working on version 3.5.10. Not sure if this will help Brian or any others who have had trouble on this branch of x-cart, but this is my sitemap.php file.

Code:

<?php

require "../top.inc.php";
require "../config.php";
require $xcart_dir."/include/categories.php";

$smarty->assign("main","sitemap");
$smarty->assign("location", $location);
$smarty->display("customer/home.tpl");

?>


I have this within my customer folder; I think everything else is the same.

However, it still has limitations; mainly as it only really displays the categories, it is not a true sitemap. Still doesn't have a page title, or work as part of the html catalog. Maybe someone can finish it off.

Otherwise I would suggest Firetank's Sitemap module as it is fully comprehensive and I reckon is excellent value for money. I have seen so called marketing companies charge бё1500 to guarantee top Google rankings and done little more than create a sitemap!

wiper 12-29-2005 11:12 AM

Thanks to everyone for usefull code, but I have problem with that, becouse in my eshop are nearly 2000 categories, so its not the smartest way becouse its doing quite big server load:( Probably it needs come cron static html page generating, but I dont know how how to do it in sitemap.php. Any tip is welcome:)

groovico 12-30-2005 08:09 PM

Quote:

Originally Posted by wiper
Thanks to everyone for usefull code, but I have problem with that, becouse in my eshop are nearly 2000 categories, so its not the smartest way becouse its doing quite big server load:( Probably it needs come cron static html page generating, but I dont know how how to do it in sitemap.php. Any tip is welcome:)


You might be interested in our commercial advanced site map, it's designed for working with larger sites in a search engine optimised manner.

http://www.firetanksoftware.com/fts/customer/X-cart-Site-Map-advanced-pid-70.html

It also optionally offers an auto rebuild cached version too along with control over category depth, products etc

wiper 12-31-2005 03:01 AM

Quote:

You might be interested in our commercial advanced site map, it's designed for working with larger sites in a search engine optimised manner.
http://www.firetanksoftware.com/fts/customer/X-cart-Site-Map-advanced-pid-70.html
It also optionally offers an auto rebuild cached version too along with control over category depth, products etc

I already have it:) but the problem with your version is, that it is not working on my server with PHP 5.0.4:( I dont know why, but it worked with older php version. Probably some functions are not ok.

groovico 12-31-2005 11:22 AM

Quote:

Originally Posted by wiper
Quote:

You might be interested in our commercial advanced site map, it's designed for working with larger sites in a search engine optimised manner.
http://www.firetanksoftware.com/fts/customer/X-cart-Site-Map-advanced-pid-70.html
It also optionally offers an auto rebuild cached version too along with control over category depth, products etc

I already have it:) but the problem with your version is, that it is not working on my server with PHP 5.0.4:( I dont know why, but it worked with older php version. Probably some functions are not ok.


Thats strange, could you send an email about the problem through our contact page on http://www.firetanksoftware.com and we'll take a look at it for you.

chrisinoz 01-26-2006 05:23 PM

Hi Fernando

I also thank you for this contribution.

Worked fine first time but when I logged in as a member it said it could not find the page.

Cheers

Chris
4.017

mitash 01-30-2006 03:19 AM

Hi fernando

You are a champion!!

Just tried your code, Absolutely fantastic.

Well done on writing this and for sharing it..

Cheers

Realsecurity 01-30-2006 11:22 AM

Is the above mod for sitemap safe to use ???? with mention of X-carts post im not sure i whether to use this mod or not,,,,,,

cubefree 02-02-2006 02:53 PM

I am getting a curious message here: http://cedarbrooksauna.com/cart/sitemap.php

Page not found!
The requested page does not exist or you are not allowed to access it!

It set the code exactly as fernando displayed earlier in this thread... any clue what causes that to display instead of the sitemap itself?


All times are GMT -8. The time now is 08:51 AM.

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