Forums / Templates, Stylesheets, Page Layout / How did I add these links ?

How did I add these links ?

Locked

Views: 660

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
14 Aug 2010, 7:45 PM
#1
ggbarnum avatar

ggbarnum

New Zenner

Join Date:
Jul 2010
Posts:
37
Plugin Contributions:
0

How did I add these links ?

Help !!

I am driving myself nuts here....

I have been playing around with zencart for a couple of weeks learning how it all works.

At some point I added 2 new links to the "more information" side box. If you look at my site http://www.cheekychile.com you will see the more information box on the right you will I have 5 links in there:

Growing Guide
Scoville Rating
Chile Information
Health Information
Recipes

I have removed the bottom 2 which were the extra ones I added from /includes/languages/english.php and the code there now reads

// information box text in sideboxes/more_information.php - were TUTORIAL_
define('BOX_HEADING_MORE_INFORMATION', 'Useful Information');
define('BOX_INFORMATION_PAGE_2', 'Growing Guide');
define('BOX_INFORMATION_PAGE_3', 'Scoville Ratings');
define('BOX_INFORMATION_PAGE_4', 'Chile Information');

There is no mention of the other 2 links. I have also removed them from /includes/languages/english/template24357/english.php though anything I change here does not seem to be recognised by the site. For instance in there it currently says:

// information box text in sideboxes/more_information.php - were TUTORIAL_
define('BOX_HEADING_MORE_INFORMATION', 'chile Information');
define('BOX_INFORMATION_PAGE_2', 'Growing Guide');
define('BOX_INFORMATION_PAGE_3', 'Scoville Ratings');
define('BOX_INFORMATION_PAGE_4', 'Chile Information');

Note the title of the box is 'chile information' not 'useful information' but the site does not see that. If I change the title in the other english.php it picks up the new title.

But where is it picking up "health information" & "recipes" from ?

I have no idea. If I select the link using fire bug it says it is in <div id="moreinformationContent" class="sideboxcontent">
but where is it pulling it in from.

I must have added them somehow but I have no clue, any help would be greatly appreciated.

I should add I have tried deleting english.php completely and they are still there, and I have cleared my cache etc.

Jas.

14 Aug 2010, 8:29 PM
#2
ggbarnum avatar

ggbarnum

New Zenner

Join Date:
Jul 2010
Posts:
37
Plugin Contributions:
0

Re: How did I add these links ?

I have discovered a pattern, I play with things, forget what I played with, post here for help, and then immediately work out what I did.

Just incase it helps anyone in the future the answer lies in

For some reason I had edited /includes/templates/templates_default/sideboxes/tpl_more_information.php

I have no idea why, but it was when I first started playing.

Anyway, jobs a good un, I can get back to breaking things again.