Results 1 to 2 of 2

Thread: How change text in header bar (Top and Catalog) to an image (link to home page)?

  1. #1
    celeroncillo
    Guest


    Default How change text in header bar (Top and Catalog) to an image (link to home page)?

    Hi I change some code from the main_page.tpl.php to hide the words Top and Catalog in the header bar, this line.

    <td id="navBarTopLT" colspan="3"><div class="navLeftLT"><?php echo $breadcrumb->trail(' &raquo; '); ?>

    I can´t put an image at the header link at "home", I want link this image in the selected template.
    I can put an image at the images directory but out of my template directory.

    Can anyone help me?
    Thanks

  2. #2
    osCMax Development Team

    How change text in header bar (Top and Catalog) to an image (link to home page)?

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,129
    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Post Re: How change text in header bar (Top and Catalog) to an image (link to home page)?

    Quote Originally Posted by celeroncillo View Post
    Hi I change some code from the main_page.tpl.php to hide the words Top and Catalog in the header bar, this line.

    <td id="navBarTopLT" colspan="3"><div class="navLeftLT"><?php echo $breadcrumb->trail(' &raquo; '); ?>

    I can´t put an image at the header link at "home", I want link this image in the selected template.
    I can put an image at the images directory but out of my template directory.

    Can anyone help me?
    Thanks
    catalog/includes/application_top
    PHP Code:
    // include the breadcrumb class and start the breadcrumb trail
      
    require(DIR_WS_CLASSES 'breadcrumb.php');
      
    $breadcrumb = new breadcrumb;

      
    // $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
      // $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); 
    For images..
    PHP Code:
    <img alt="my image" src="<?php echo bts_select('images''myimage.jpg');?>" >
    Last edited by ridexbuilder; 03-02-2014 at 02:01 PM. Reason: typos

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

Similar Threads

  1. Different header on home page
    By Denz in forum Templating, CSS, Design
    Replies: 21
    Last Post: 08-14-2013, 01:51 PM
  2. how do i change the home link to link to somewhere else?
    By jcomputers in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 07-22-2006, 09:01 PM
  3. Change Header Link
    By torweb in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 02-20-2006, 02:29 AM
  4. How do I change the 'Top' to 'Home' in the header nav bar
    By bivigeeza in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 02-07-2004, 12:24 PM
  5. How to change default text on home page of shop?
    By slimjimb in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 10-17-2003, 04:27 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
  •