Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2006
    Posts
    60
    Plugin Contributions
    0

    Default Problem with adding link to information sidebox

    I want to add a "purchase terms" link to the information sidebox.

    Under the Define Pages Editor, I have a file called "define_purchase.php" which I edited under DPE to include the information that I want.

    I have gone through and edited the information.php file, edited the filenames.php file, and edited the english.php file.

    The proper name appears under the information sidebox, however when clicked, it just reverts back to the main page.

    here is the code that I added to each file...

    for information.php

    if (DEFINE_PURCHASE_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_PURCHASE) . '">' . BOX_INFORMATION_PURCHASE . '</a>';
    }

    - - - - - - - - - -

    for filenames.php

    define('FILENAME_DEFINE_PURCHASE', 'define_purchase');

    - - - - - - - - - -

    for english.php

    define('BOX_INFORMATION_PURCHASE', 'Purchase Terms');

    -------------------------------------------------------

    could anyone tell me what i did wrong? i've been sitting here for 3 days trying to figure this one out. thanks in advance for any help.

  2. #2
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,236
    Plugin Contributions
    20

    Default Re: Problem with adding link to information sidebox

    Quote Originally Posted by rkeppert View Post

    for information.php

    if (DEFINE_PURCHASE_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_PURCHASE) . '">' . BOX_INFORMATION_PURCHASE . '</a>';
    }

    for filenames.php

    define('FILENAME_DEFINE_PURCHASE', 'define_purchase');
    It's a "Can't see the wood for the trees" moment
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  3. #3
    Join Date
    Aug 2006
    Posts
    60
    Plugin Contributions
    0

    Default Re: Problem with adding link to information sidebox

    All I can say is wow. I think I need to go do this kind of stuff away from home and the 4 kids...

  4. #4
    Join Date
    Aug 2006
    Posts
    60
    Plugin Contributions
    0

    Default Re: Problem with adding link to information sidebox

    And of course, It still doesn't want to work right....



    does anyone else smell something burning?

 

 

Similar Threads

  1. Adding an (external) link to information sidebox
    By thecatinthetree in forum Basic Configuration
    Replies: 1
    Last Post: 13 Dec 2010, 10:44 PM
  2. information sidebox - adding link
    By pieter_cactus in forum Basic Configuration
    Replies: 4
    Last Post: 13 Mar 2009, 10:00 AM
  3. Problem Adding a New Page to Sidebox/Information
    By amacole in forum Basic Configuration
    Replies: 3
    Last Post: 30 Oct 2007, 02:16 PM
  4. Adding a link into the Information sidebox
    By dctarbuck in forum General Questions
    Replies: 1
    Last Post: 2 Mar 2007, 12:44 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR