Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010
    Posts
    37
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Jul 2010
    Posts
    37
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. v139h How Can I Modify These Links?
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 10 Nov 2012, 04:02 AM
  2. Categories - how to delete these links?
    By tparvaiz in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Jul 2011, 10:48 AM
  3. Where did they get these?
    By lizord in forum Customization from the Admin
    Replies: 2
    Last Post: 22 Mar 2009, 04:07 PM
  4. How do i remove these certain links
    By lizar5- in forum General Questions
    Replies: 4
    Last Post: 18 Jan 2009, 10:04 PM
  5. how to add link like these?
    By ary in forum General Questions
    Replies: 3
    Last Post: 5 Jan 2007, 02:12 AM

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