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)

moneysaver67 02-11-2006 11:51 AM

all,

I personally added

Code:

$smarty->assign("title", "Sitemap Title");

to my sitemap.php to include a page title...

Jerrad 02-12-2006 01:53 AM

Thanks moneysaver67, but I've added your code to the sitemap, but it still doesn't show a page title...
Maybe it's possible you show your sitemap.php?
Thanks in advance! :D

JWait 02-12-2006 06:41 AM

Quote:

Originally Posted by cubefree
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?


I had the same problem... until I replaced skin1/customer/home_main.tpl with the one with the added the required code. (doh!) :lol:
The "you are not allowed to access it" part also indicates it may be a file permissions problem, so check that also if it continues.

Hyperdelicious 03-09-2006 10:17 AM

sitemap mod not working with 4.1.0
 
I had this sitemap working with 4.0.13 and since updating cart to 4.1.0 the sitemap mad isn't working any more ... page only shows bullets nothing more ... any ideas?

I'd also like the sitemap to list all products ... any one accomplish this or have ideas?

mltriebe 04-07-2006 05:02 PM

Is this compatable with google site maps? I added this and it works great so a big thanks to Fernando, but google says its an unsupported format.

Is it this mod or did I mess something up someplace.

Mike

bridal-land 04-09-2006 10:06 AM

im getting the following error.

Warning: Smarty error: unable to read template resource: "customer/sitemap.tpl" in /home/brida3/public_html/Smarty-2.5.0/Smarty.class.php on line 1042

could this be from the dsefu mod

Any help would be great thanks
Mike

patrick24601 04-10-2006 11:16 AM

OK. I've installed this and it is working great but...

Since I've installed this and the 301 redirect post from the sticky I cannot log into my site as a customer. I add to the cart, I go to checkout and it asks me to login (even though it tells me my name on the home page) and then it just comes back to the main page.

Is the issue the site map or the 301 redirect?

subzero 04-17-2006 06:49 PM

Quote:

Originally Posted by CopperB
Just wondering if anyone knows of a way to be able to use/view the sitemap when using the html catalog?

If I access the website via the html catalog and click on the sitemap link I get the error The requested URL /xcart/catalog/sitemap.php was not found on this server

Thanks


sorta found a fix for this with a bit of help on here

if u copy the contents of you sitemap.tpl then create a new staic page called sitemap and past the contents of the sitermap.tpl in there and click the parse smarty tags box and save all changes then when u create your html catalogue it will make a file called sitemap-sp-**.html for you ** being the static page number

hope this helps

patrick24601 04-19-2006 04:43 AM

I am having a problem with this mod.

When I installed it I had several top level categories with subcats and only one of the subcats had products. And then it worked great.

I just updated one of my other subcategories to now have products and I cannot get those to show up in the sitemap. It almost looks like the data is cached someplace and needs a refresh.

To see this go to www.patrickallmond.com

If you click on 'MP3' on the left hand side you will see that I have several subcategories.

But you click on sitemap you will see those don't show up in the site map.

Any help would be appreciated.

bridal-land 04-20-2006 06:38 PM

Anyone have this working in 3.5x yet. Im still getting this error


Warning: Smarty error: unable to read template resource: "customer/sitemap.tpl" in /home/brida3/public_html/Smarty-2.5.0/Smarty.class.php on line 1042


I would love to get this working.


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

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