Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Posts
    96
    Plugin Contributions
    0

    Default custom navigation block(left column, not header)

    Hi there everyone,

    I've read the tuts here, and searched the forum, but I've only found threads relating to altering navigation in the header of the page. I've created a new categories block, and would like to replace the current nav block in the left column.

    Could someone tell me how to do this?

    thanks,
    json

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

    Default Re: custom navigation block(left column, not header)

    The header navbar code is in /includes/templates/template_default/common/tpl_header.php.

    You can copy that code to /your_template/common/column_left.php and add break tags to get vertical display. Wrap it in a div and look at the sidebar files for examples if you want a box like the rest.

  3. #3
    Join Date
    Aug 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: custom navigation block(left column, not header)

    Hi there, and thanks very much for the reply.

    I tried adding the block code via a php include to /template/common/tpl_box_default_left.php, but it's looping after each block. I couldn't find a template matching the name you provided.

    You can see the problem I'm running into here (scroll down the page to see the repeating of the block).

    Am I working in the wrong file?

    thanks,
    json

    thanks,
    json

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

    Default Re: custom navigation block(left column, not header)

    "Your_template" is a word we use to refer to the custom template override folders you should set up to hold your customizations.

    If you haven't done that, see the FAQs for information on creating your own template.

    You want the code called from or included in column_left.php, as that only displays once per page. tpl_box_default_left.php is executed several times for each page.

 

 

Similar Threads

  1. extend left column into header
    By gsdcypher in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Sep 2009, 12:47 AM
  2. Header Navigation Opens to Page with Links in Left Bar
    By jill8026 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Jan 2009, 11:12 PM
  3. Custom Navigation Header
    By coastalfog in forum Basic Configuration
    Replies: 2
    Last Post: 13 Jun 2006, 02:37 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