Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Site map page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 03-27-2005, 08:53 AM
  eaglemobiles's Avatar 
eaglemobiles eaglemobiles is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 167
 

Default

This is great mod thanks for sharing with us. Is it possible to add other part of the website like help, login, news, special.

Thanks
__________________
X-Cart Gold 4.3.2
X-Cart Gold 4.4.1
Unix

High Quality CCTV DVRs & Cameras
http://www.eaglemobiles.co.uk/CCTV
Reply With Quote
  #22  
Old 03-31-2005, 12:01 PM
 
fuzzy fuzzy is offline
 

Advanced Member
  
Join Date: Jun 2004
Location: oHIo
Posts: 77
 

Default

One extra tweak here for those folks that want (or require) the crumb trail to show.

in sitemap.php, change to
Code:
<?php require "./auth.php"; require $xcart_dir."/include/categories.php"; $smarty->assign("main","sitemap"); $smarty->assign("location", $location); func_display("customer/home.tpl",$smarty); ?>

Other than that it works GREAT in 4.0.12
__________________
X-Cart 4.0.12 Gold
Linux
Reply With Quote
  #23  
Old 04-01-2005, 03:25 PM
 
Speedmaster Speedmaster is offline
 

Newbie
  
Join Date: Apr 2005
Posts: 3
 

Default

Hmm...

I tried implementing this in 3.5.10. All I get is a complete listing of all of my categories like this

<ul> [*]Root Category/Subcat 1/Sub-Subcat 2 [*]Root Category/Subcat 1/Sub-Subcat 4 [*]Root Category/Subcat 3/Sub-Subcat 5 [/list]
Anybody with 3.5.X know what's going on?

Thanks
__________________
3.5.10
Reply With Quote
  #24  
Old 04-14-2005, 04:19 PM
 
CopperB CopperB is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 58
 

Default

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
__________________
CopperB

XCart Gold -> v4.0.11
PHP -> v4.3.10
MySQL -> v4.0.22
Apache -> v1.3.33
Smarty -> v2.6.3
Reply With Quote
  #25  
Old 04-14-2005, 04:37 PM
 
fuzzy fuzzy is offline
 

Advanced Member
  
Join Date: Jun 2004
Location: oHIo
Posts: 77
 

Default

you need to make the link like so:
/xcart/sitemap.php

Adding /xcart/ will cause the browser to backup to the root dir and then drill
down to the sitemap.php.

Just make the change in the php version, then re-generate the html catalog and
all will be good to go.
__________________
X-Cart 4.0.12 Gold
Linux
Reply With Quote
  #26  
Old 04-14-2005, 04:57 PM
 
CopperB CopperB is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 58
 

Default

Thanks for the reply Fuzzy but I don't quite understand as right now xcart is the root.

PHP Version
http://www.copperboppers.com/xcart/sitemap.php

HTML Catalog
http://www.copperboppers.com/xcart/catalog/sitemap.php
(this is where I get the error)
__________________
CopperB

XCart Gold -> v4.0.11
PHP -> v4.3.10
MySQL -> v4.0.22
Apache -> v1.3.33
Smarty -> v2.6.3
Reply With Quote
  #27  
Old 04-14-2005, 05:32 PM
 
fuzzy fuzzy is offline
 

Advanced Member
  
Join Date: Jun 2004
Location: oHIo
Posts: 77
 

Default

Quote:
Originally Posted by CopperB
Thanks for the reply Fuzzy but I don't quite understand as right now xcart is the root.

PHP Version
http://www.copperboppers.com/xcart/sitemap.php

HTML Catalog
http://www.copperboppers.com/xcart/catalog/sitemap.php
(this is where I get the error)

Your current link (viewing the source) shows as sitemap.php
change it to /xcart/sitemap.php

copy & paste /xcart/sitemap.php into your menu.tpl or whatever the .tpl
file is, save it and generate the html catalog again. Done, prob solved.

root? (My Bad!) When I said root, I ment your web site root ie: www.copperboppers.com, not the xcart root ie: www.copperboppers.com/xcart

heres an example of how browser sees links, while in the xcart/catalog dir.
sitemap.php is seen as http://www.copperboppers.com/xcart/catalog/sitemap.php
/xcart/sitemap.php is seen as http://www.copperboppers.com/xcart/sitemap.php

Hope that makes sence! hehehe!
__________________
X-Cart 4.0.12 Gold
Linux
Reply With Quote
  #28  
Old 04-27-2005, 04:44 AM
 
longhorn180 longhorn180 is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Richmond, Virginia
Posts: 187
 

Default

Quote:
Hmm...

I tried implementing this in 3.5.10. All I get is a complete listing of all of my categories like this

<ul> [*]Root Category/Subcat 1/Sub-Subcat 2 [*]Root Category/Subcat 1/Sub-Subcat 4 [*]Root Category/Subcat 3/Sub-Subcat 5 [/list]
Anybody with 3.5.X know what's going on?

Thanks


I'm having the same problem Speedmaster is having. What are we doing wrong? Here is a url to the site I use to for testing purposes:http://www.thecrackedbook.com/shop/xcart/customer/sitemap.php
__________________
4.1.9 (Linux) Live Store
www.thecrackedbook.com
Find used books and out of print books.
Reply With Quote
  #29  
Old 04-27-2005, 11:40 AM
 
PremiumPonyParts PremiumPonyParts is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 114
 

Default

Make sure that when you link to it in your files, your pointing it to the root, not just calling it by sitemap.php so do xcartdir/sitemap.php

otherwise, when the catalog calls it, its gonna do xcartdir/catalog/sitemap.php

Also, your sitemap won't link to the HTML pages you've made. But the Advanced Site Map that you can buy does, and works great.
__________________
Version 4.0.8
Reply With Quote
  #30  
Old 05-09-2005, 10:01 AM
 
offline offline is offline
 

Member
  
Join Date: Apr 2005
Posts: 17
 

Default

How do I set the <title> of the page, it doesn't seem to have on.

Great mod by the way, works perfect. Thanks!
__________________
Version 4.1.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020