Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Sitemap - unwanted pages

    The sitemap at (http://chicapparel.co.uk/index.php?main_page=site_map ) is listing Pages 2, 3 & 4 even though they are set to 0 in admin>config>define_pages_status. Any ideas?

    I have considered the option of removing/commenting out the code from tpl_site_map_default.php, but if the client should subsequently wish to use pages 2,3,4 I'd have to remember that I made that change!
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  2. #2
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Sitemap - unwanted pages

    Quote Originally Posted by Ryk
    The sitemap at (http://chicapparel.co.uk/index.php?main_page=site_map ) is listing Pages 2, 3 & 4 even though they are set to 0 in admin>config>define_pages_status. Any ideas?

    I have considered the option of removing/commenting out the code from tpl_site_map_default.php, but if the client should subsequently wish to use pages 2,3,4 I'd have to remember that I made that change!
    http://www.zen-cart.com/forum/showthread.php?t=34390

  3. #3
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Sitemap - unwanted pages

    Thanks woodymon...I think the word I need is "Doh!"
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sitemap - unwanted pages

    In v1.3 or above ... I'd have to check if that got snuck in on v1.3.0.1 or v1.3.0.2 ... there are additional switches on the Define Page Status settings to turn on/off the links and definitions ...

    There are other circumstances where you would need to actually touch the tpl_ file for the site map, but you might check to see if that is the issue ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Sitemap - unwanted pages

    Oh I had those switches...but silly me assumed (yeah, I know, "never assume, check!" ) that 0 meant OFF (as it does with just about everything else that's switchable in admin).
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sitemap - unwanted pages

    Normally we try to keep 0 as OFF and FALSE as OFF and false as OFF and 'false' as OFF ...

    However, when some things get expanded in concept, and the default on a bazillion shops for 0 having a different meaning ... we have to go a step further and break or alter the convention ...

    This always weighs heavily on our minds when building these switches ...

    We have to consider ...

    you import data without a clue ...

    you have an old shop upgraded umpteen times ...

    you don't know there is a new switch ...

    etc. etc. etc.

    So ... every now and again ... gotta wait until the questions come and teach the lot of you the new solutions to pass on to the next set of Zen Cart users ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Sitemap - unwanted pages

    I'm not blaming you - I should have read the notes!
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sitemap - unwanted pages

    Read the notes? You must be totally Zenned to think of that on your own ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Sitemap - unwanted pages

    Well, it does say that under my name...but actually it's through years of ingrained Royal Air Force training...RTFM (but as we don't actually have an M to R, it has to be the N around here! )
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

 

 

Similar Threads

  1. Unwanted code/text on my pages
    By AvaAdorn in forum General Questions
    Replies: 15
    Last Post: 8 Apr 2015, 08:08 AM
  2. Unwanted Text on Checkout Pages
    By shankworks in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Mar 2011, 03:39 AM
  3. Unwanted links in sitemap page
    By multichild in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Nov 2007, 01:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg