Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

    Default absolute links sidebox - how to add extra links?

    I have installed this sidebox and edited the tpl_absolute_links.php file to get myself a link, it now has given me 1 link, but i need to add more, is there a way of doing this? The file currently looks like what you can see below. (the bold red areas is what i inserted to get my link and i have kept everything else in place).



    <?php
    /**
    * Absolute Links Side Box Template
    *
    * @package templateSystem
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    *
    * @version $Id: tpl_absolute_links.php 2007-07-09 06:06:06Z tolefairy
    *
    */

    $content = '<div id="absolutelinksContent" class="sideBoxContent centeredContent">';

    /* Your html and/or javascript code goes between the 2 single quotes in the next line */
    $content .= '<a href="http://www.satsun.biz" target="_blank" title="SatSun Digital TV" class="example_link_class" id="example_link_id">Satsun.biz</a> ';

    $content .= '</div>';


    ?>

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: absolute links sidebox - how to add extra links?

    Copy the line that has the example as many times as you need too ... but using the EZ Pages Sidebox would be much easier ...
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

    Default Re: absolute links sidebox - how to add extra links?

    Any chance of you knowing exactly what to copy and where exactly on the page to paste it? I was originally using the ez pages for my links and was very simple, but now need to use that for something else. Unless there is a way of having 2 ez side boxes...

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: absolute links sidebox - how to add extra links?

    Code:
    $content .= '<a href="http://www.mynewlink.biz" target="_blank" title="NewLink" class="example_link_class" id="example_link_id">My Link</a> ';
    Post that directly under your first link

  5. #5
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

    Default Re: absolute links sidebox - how to add extra links?

    Thanks, it worked and i added a <br /> at the end of the first link inorder to get each links underneath one another, otherwise both links were side by side

  6. #6
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: absolute links sidebox - how to add extra links?

    Pleased to hear code worked for you

 

 

Similar Threads

  1. Replies: 11
    Last Post: 11 Mar 2010, 11:13 PM
  2. enhanced absolute links sidebox
    By JohnBoyCR in forum Addon Sideboxes
    Replies: 2
    Last Post: 13 Jan 2010, 06:44 PM
  3. Absolute Links Sidebox
    By tolefairy in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 27 Jul 2007, 09:15 PM
  4. Replies: 1
    Last Post: 11 Jun 2007, 05:33 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