Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2007
    Posts
    37
    Plugin Contributions
    0

    help question How can I add a link into the categories sidebox?

    Hi!

    I want to create a link to the specials (index.php?main_page=specials) in the documents sidebox.
    Where do I add this link?

    Thanks!

    - Paul

  2. #2
    Join Date
    Aug 2007
    Posts
    37
    Plugin Contributions
    0

    Default Re: How can I add a link into the categories sidebox?

    Nevermind, found it.

    If anyone is interested:

    Just add:

    PHP Code:
        if (SHOW_CATEGORIES_BOX_SPECIALS == 'true') {
          
    $show_this $db->Execute("select s.products_id from " TABLE_SPECIALS " s where s.status= 1 limit 1");
          if (
    $show_this->RecordCount() > 0) {
            
    $content .= '<a class="category-links" href="' zen_href_link(FILENAME_SPECIALS) . '">' CATEGORIES_BOX_HEADING_SPECIALS '</a>' '<br />' "\n";
          }
        } 
    In the sidebox where you want the specials-link to show!

  3. #3
    Join Date
    Aug 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: How can I add a link into the categories sidebox?

    can you point me to where i can find this to do it please :)

    thank you

  4. #4
    Join Date
    Aug 2007
    Posts
    37
    Plugin Contributions
    0

    Default Re: How can I add a link into the categories sidebox?

    I think this was in:
    includes/templates/templates_default/.../sideboxes(?)/tpl_categories.php
    and you can put that into every sidebox.

    Will look at home for the correct path, but this is my best guess for now.

    I'm happy I could help someone else for the first time

  5. #5
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: How can I add a link into the categories sidebox?

    I'm sorry but I didn't get it ! can you please explain more, I still can't figure our where to add my link to the categories sidebox!

 

 

Similar Threads

  1. How to add a frame into the sidebox?
    By cmike in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Mar 2014, 05:41 AM
  2. How to add new link to categories sidebox?
    By bluelightnin6 in forum Setting Up Categories, Products, Attributes
    Replies: 25
    Last Post: 12 Jan 2012, 11:15 PM
  3. Can I add alink in the Categories Sidebox?
    By wildfashions in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 14 Dec 2010, 04:59 PM
  4. how to change the contents in the sidebox? I want to add a chat into it
    By shadowcast in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Jun 2010, 07:02 PM
  5. How to add 'My Account' link into Information sidebox?
    By miles in forum Addon Sideboxes
    Replies: 2
    Last Post: 12 Jul 2008, 04:39 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