Forums / Basic Configuration / I need help linking my new pages to the sidebar items

I need help linking my new pages to the sidebar items

Views: 758

Results 1 to 5 of 5
21 Mar 2012, 10:32 PM
#1
bongobayfusion avatar

bongobayfusion

New Zenner

Join Date:
Jan 2012
Posts:
9
Plugin Contributions:
0

I need help linking my new pages to the sidebar items

ZEN 1.5
Custom Template

I've created a site at http://www.timberlinemeat.com/index.php and need help linking two items up, but can't seem to tell where in the coding the disconnect is happening?

Delivery & Storage and Links aren't showing up right, instead of it going to the correct page /index.php?main_page=delivery_storage to goes to /index.php?main_page=FILENAME_DELIVERY, the same happens for links it should go to /index.php?main_page=links not /index.php?main_page=FILENAME_LINKS

Any help? I've gone thorough multiple tutorials and tried to backtrack to find out where the coding is wrong, but I need help!

thanks in advance!!

22 Mar 2012, 10:36 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: I need help linking my new pages to the sidebar items

Can't tell with your site down for maintenance.

22 Mar 2012, 4:23 PM
#3
bongobayfusion avatar

bongobayfusion

New Zenner

Join Date:
Jan 2012
Posts:
9
Plugin Contributions:
0

Re: I need help linking my new pages to the sidebar items

Sorry..its back up now...Any help would be awesome! Thanks!

22 Mar 2012, 4:52 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: I need help linking my new pages to the sidebar items

FILENAME_DELIVERY and FILENAME_LINKS don't exist in a stock Zencart installation, so they're define names that you've added somehow, and failed to define them in the process. How exactly did you add those links to the Information sidebox ?

22 Mar 2012, 7:44 PM
#5
bongobayfusion avatar

bongobayfusion

New Zenner

Join Date:
Jan 2012
Posts:
9
Plugin Contributions:
0

Re: I need help linking my new pages to the sidebar items

I defined them in the includes/languages/english/english.php file like this?

// information box text in sideboxes/information.php

define('BOX_HEADING_INFORMATION', 'Information');

define('BOX_INFORMATION_DELIVERY', 'Delivery & Storage');

define('BOX_INFORMATION_LINKS', 'Links');

define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');

define('BOX_INFORMATION_CONTACT', 'Contact Us');

define('BOX_BBINDEX', 'Forum');

define('BOX_INFORMATION_UNSUBSCRIBE', 'Newsletter Unsubscribe');

Was that right?