Zen Cart Logo
Forums / General Questions / adding new page to site map

adding new page to site map

Locked

Views: 1,273

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
1 Feb 2008, 2:56 PM
#1
christopherdoiron avatar

christopherdoiron

New Zenner

Join Date:
Jan 2008
Posts:
25
Plugin Contributions:
0

adding new page to site map

Hi there. I recently found out how to create and modify my own side boxes and define pages. I'm on the road to stardom here but I'm missing one critical thing.

I found some code

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values ('Define Page-Not-Found Status', 'DEFINE_PAGE_NOT_FOUND_STATUS', '1', 'Enable the Defined Page-Not-Found Text from define-pages?<br />0= Define Text OFF<br />1= Define Text ON', '25', '67', now(), now(), NULL, 'zen_cfg_select_option(array('0', '1'),');

Changing anything that says "page not found" to my new page name added my new page into the define page status in my admin panel but, it only added options "0 and 1"

Is this why I dont see my new page in the sitemap?
Do I need options 2 & 3?
If so, what is the SQL patch that will give my server those options? (Like the one above but bigger I'm guessing)

Or, is there another way to get my new page into the sitemap?

Chris

ps. Once I figure this stuff out I'm going to write a super sticky! Been at the computer for just about 24 hours straight learning how to create pages/boxes/links etc etc.....

1 Feb 2008, 4:14 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: adding new page to site map

Hi there. I recently found out how to create and modify my own side boxes and define pages.
I quickly looked at this sidebox issue and when you create the sidebox files etc and go to the admin > tools > layout boxes controller > you will see that a new side box has been found > enable it and the DB entry is done for you - therefore no SQL patching should be required

1 Feb 2008, 4:51 PM
#3
christopherdoiron avatar

christopherdoiron

New Zenner

Join Date:
Jan 2008
Posts:
25
Plugin Contributions:
0

Re: adding new page to site map

Yup, I've got that already. I'm just missing out on having my new page in the site map.

I've created the define page, and uploaded it but it doesn't show up in the site map..

Note: I was told that define pages are not automatically added to the database, which is why I thought I needed the SQL patch to add it in.

(I'm assuming that the DB takes care of the site map)

1 Feb 2008, 5:07 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: adding new page to site map

I'm assuming that the DB takes care of the site map)
Unless this has changed - this is not dynamic and is file based - have a look at includes/templates/template_default/templates/tpl_site_map_default.php and use a copy for your template

11 Feb 2008, 10:25 PM
#5
fashions avatar

fashions

New Zenner

Join Date:
Apr 2004
Location:
new mexico usa
Posts:
27
Plugin Contributions:
0

Re: adding new page to site map

kobra:

Unless this has changed - this is not dynamic and is file based - have a look at includes/templates/template_default/templates/tpl_site_map_default.php and use a copy for your template

of topic some, excuse me, in searching for site map problem i found this thread.
with a resent up grade from 1.1.1 to 1.3.8a i don't have a functioning site map.
looking for help on trouble shooting site map not showing up in information side box.
attempted correction by moving in above /templates/tpl_site_map_default.php
into /my template/ dir and no change.

getting close to final update,
fashions