Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2007
    Posts
    8
    Plugin Contributions
    0

    Default Move "home and login" link to category navigation

    As the subject states I would like to remove these links from the header and put them in the top of the categories listing sidebox. Any suggestions will be greatly appreciated.

    Thanks in advance.
    TBC

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Move "home and login" link to category navigation

    You can take the relevant parts of the header navigation code from /includes/templates/your_template/common/tpl_header.php and add them elsewhere. (I added them to column_left.php.) In this case, /includes/templates/your_template/sideboxes/tpl_categories.php would probably work.

    At the top of the file, find
    PHP Code:
     $content "";
      
      
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent">' "\n"
    Depending on what you want, you should be able to add the nav code to $content either before or just after the content div opens. You may need to massage the presentation of the output to be fed into the $content variable instead of echoing directly.
    It may also be possible to output the nav code directly before $content is initialized - experiment if you like. I'm not sure that will work.

 

 

Similar Threads

  1. Move the "Home and Login" links to my sidebar...
    By Kaniki in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 26 Sep 2010, 07:43 PM
  2. How to add additional link beside the "home" and "Login" page above logo?
    By corditreasures in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Apr 2010, 03:54 PM
  3. Change font color of "Home" and "LogIn" at navMainWrapper (Top of page)
    By Eglantin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Dec 2008, 12:19 PM
  4. Move "Home" & "Login" links at top of page
    By kp14 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 26 May 2007, 06:33 PM
  5. Trying to add bg image behind "Home" and "Login"
    By violetcandy in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 22 Aug 2006, 01:54 AM

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