Results 1 to 8 of 8

Add links to Navbar [Fallback_html]

This is a discussion on Add links to Navbar [Fallback_html] within the Templating, CSS, Design forums, part of the osCmax V2.5 Forums category; Hi, I am wanting to add links to the navbar in [a copy of] fallback_html. Are you able to let ...

      
  1. #1
    Member
    Join Date
    Jul 2012
    Posts
    71
    Rep Power
    1


    Default Add links to Navbar [Fallback_html]

    Hi,

    I am wanting to add links to the navbar in [a copy of] fallback_html.

    Are you able to let me know what files to edit ?

    Thanks

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,124
    Rep Power
    55


    Default Re: Add links to Navbar [Fallback_html]

    Which bit are you calling the "navbar"? If you mean the tabs at the top then look in main_page.tpl.php ... if you mean the categories infobox then look in catalog/includes/boxes/categories.php

    Regards.
    pgmarshall
    _______________________________

  3. #3
    Member
    Join Date
    Jul 2012
    Posts
    71
    Rep Power
    1


    Default Re: Add links to Navbar [Fallback_html]

    Hi,

    I mean the breadcrumb navigation bar [eg. Top > Catalog etc]....I want to add links to the right hand side of that bar.

    Thanks

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,124
    Rep Power
    55


    Default Re: Add links to Navbar [Fallback_html]

    Then open main_page.html and edit the table that contains the breadcrumb.

    Add another <td> after the one containing {breadcrumbs} and add your links.

    Regards,
    pgmarshall
    _______________________________

  5. #5
    Member
    Join Date
    Jul 2012
    Posts
    71
    Rep Power
    1


    Default Re: Add links to Navbar [Fallback_html]

    Okay, will do....many thanks

  6. #6
    Member
    Join Date
    Jul 2012
    Posts
    71
    Rep Power
    1


    Default Re: Add links to Navbar [Fallback_html]

    Hi,

    Any chance you could take a look at this code...it doesn't seem to keep the breadcrumb class and background image in the navigation.

    Code:
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr class="headerNavigation">
        <td class="breadcrumb_left" width="5">{pixelseparator}</td>
        <td class="breadcrumb">{breadcrumbs}
        <td style="float:right;" <a href="http://google.com">Google</a></td>
        <td style="float:right;" <a href="http://google.com">Google</a></td>
        <td style="float:right;" <a href="http://google.com">Google</a></td>
        </td>
        <td class="breadcrumb_right" width="5">&nbsp;</td>
        
    
      </tr>
    </table>
    Thanks

  7. #7
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,124
    Rep Power
    55


    Default Re: Add links to Navbar [Fallback_html]

    Try:

    Code:
    <table border="0" width="100%" cellspacing="0" cellpadding="0">  
      <tr class="headerNavigation">    
        <td class="breadcrumb_left" width="5">{pixelseparator}</td>
        <td class="breadcrumb">{breadcrumbs}</td>
        <td class="breadcrumb" align="right">
          <table>
            <tr>
              <td><a href="http://google.com">Google</a></td>
              <td><a href="http://google.com">Google</a></td>
              <td><a href="http://google.com">Google</a></td>
            </tr>
          </table>
        </td>
        <td class="breadcrumb_right" width="5">&nbsp;</td>
     </tr>
    </table>
    pgmarshall
    _______________________________

  8. #8
    Member
    Join Date
    Jul 2012
    Posts
    71
    Rep Power
    1


    Default Re: Add links to Navbar [Fallback_html]

    Works perfect...many thanks

Similar Threads

  1. Superfish Vertical navbar
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 08-09-2011, 05:11 AM
  2. Outside Links Box
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-07-2007, 11:04 AM
  3. Outside Links Box
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-25-2007, 03:23 AM
  4. BTS how-to links
    By afterdigital in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 04-10-2004, 02:35 AM
  5. How to change PHP to use buttons in navbar instead of Text?
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 03-16-2004, 09:58 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
  •