Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2006
    Posts
    43
    Plugin Contributions
    0

    Default Add 2 links to the Info Sidebox?

    Hello. I need to add two links, 'Home' and 'Login' to the information sidebox.

    http://nicotinerush.com/
    and
    https://nicotinerush.com/account/login.html

    I don't need 'new pages' just the links, and they have to be formatted to avoid the 'secure/non-secure' warning.

    I'm assuming these are added to the sideboxes/information.php pg. but I need a little assistance in coding correctly.

    Thanks
    Tom

  2. #2
    Join Date
    Sep 2004
    Location
    LA, California
    Posts
    117
    Plugin Contributions
    0

    Default Re: Add 2 links to the Info Sidebox?

    Add this where you want the links to show up:

    Code:
          <?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a>
      <?php if ($_SESSION['customer_id']) { ?>
          <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
          <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
      <?php
            } else {
              if (STORE_STATUS == '0') {
      ?>
          <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
      <?php } } ?>
    Hope this helps,
    Ron Peled

  3. #3
    Join Date
    Dec 2006
    Posts
    43
    Plugin Contributions
    0

    Default Re: Add 2 links to the Info Sidebox?

    Thanks, but that didn't do it. I need them here, before 'Shipping'.



    if (DEFINE_SHIPPINGINFO_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';
    }
    if (DEFINE_PRIVACY_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>';
    }
    if (DEFINE_CONDITIONS_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';
    }
    if (DEFINE_CONTACT_US_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>';
    }

 

 

Similar Threads

  1. v135 How to add and edit links in the Information sidebox?
    By rosanna in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 20 Jul 2012, 08:13 PM
  2. I need help modifying the info sidebox (links etc.)
    By MULISH in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Jun 2009, 12:42 AM
  3. Help modifying the info sidebox.. (links etc.)
    By MULISH in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 May 2009, 12:20 AM
  4. How to add links in the sidebox??
    By nyanko chan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Jan 2009, 08:47 AM
  5. Trying to add links to the information sidebox.
    By gabenn2 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Nov 2007, 08:45 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