Forums / Basic Configuration / little trouble following tutorial on sidebox images

little trouble following tutorial on sidebox images

Locked

Started by ilsita on 9 Oct 2009, 3:24 AM · Views: 720

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
9 Oct 2009, 3:24 AM
#1
ilsita avatar

ilsita

New Zenner

Join Date:
Sep 2009
Posts:
89
Plugin Contributions:
0

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

Zen-cart 1.3.8a * Template premium1c, * my zen-cart(nsfw!!): Tunti Enterprises.

9 Oct 2009, 4:28 PM
#2
ilsita avatar

ilsita

New Zenner

Join Date:
Sep 2009
Posts:
89
Plugin Contributions:
0

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.

Zen-cart 1.3.8a * Template premium1c, * my zen-cart(nsfw!!): Tunti Enterprises.