Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2009
    Posts
    95
    Plugin Contributions
    0

    Default little trouble following tutorial on sidebox images

    Hi. I'm having a little trouble following this tutorial on replacing the sidebar headings with an image. I hope someone can help.

    What happens after I follow the instructions is that the "categories" title, which is the one I want to replace with an image, turns into a broken image of a zen-cart banner ad "Powered by Zen Cart... etc."

    So, I think I might have edited wrong. Here's what I have to add:

    define('BOX_HEADING_CATEGORIES', 'your_graphic_image.???');

    And so what I entered was:

    define('BOX_HEADING_CATEGORIES', 'includes/templates/premium1c/images/categories.gif');


    THEN, what I have to do, is replace the text in the modules with this:

    $title = zen_image($template->get_template_dir(BOX_HEADING_CATEGORIES, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . BOX_HEADING_CATEGORIES, HEADER_ALT_TEXT);

    I'm sure that I should modify that, by I have no idea how.

    Does anyone know?

    Thank you!

    ilsita

  2. #2
    Join Date
    Sep 2009
    Posts
    95
    Plugin Contributions
    0

    Default Re: little trouble following tutorial on sidebox images

    Update!

    I figured this out. I fixed it by not including the whole source of the image, but just using the image name. So:

    define('BOX_HEADING_CATEGORIES', 'categories.gif');

    So, once again I make things more complicated than they are.

 

 

Similar Threads

  1. Question after following the Custom Sidebox Tutorial in the wiki
    By bobmeetin in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 29 Apr 2013, 02:32 PM
  2. images problem following upgrade
    By alpage2 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 4 Mar 2007, 07:04 PM
  3. new links in the info box, but a few little things i'm having trouble with! :)
    By katylouise in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Sep 2006, 11:07 PM

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