Forums / All Other Contributions/Addons / Sitemap - unwanted pages

Sitemap - unwanted pages

Locked

Started by ryk on 6 Aug 2006, 11:09 AM · Views: 1,308

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
6 Aug 2006, 11:09 AM
#1
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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 !

6 Aug 2006, 11:38 AM
#2
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Sitemap - unwanted pages

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

6 Aug 2006, 11:45 AM
#3
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Sitemap - unwanted pages

Thanks woodymon...I think the word I need is "Doh!" :oops:

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

6 Aug 2006, 1:36 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!

6 Aug 2006, 2:41 PM
#5
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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 Aug 2006, 2:47 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ... :cool:

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!

6 Aug 2006, 2:49 PM
#7
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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 !

6 Aug 2006, 2:52 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Sitemap - unwanted pages

Read the notes? You must be totally Zenned to think of that on your own ... :P

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!

6 Aug 2006, 3:35 PM
#9
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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! :laugh: )

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !