Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

category name--use image instead?


rabbitseffort

Recommended Posts

can I use an image for a categorie name instead of words? I assume it can be done but want to know what file this would be modified in, I should know but dont, maybe I would be able to do it in admin under add products?

 

please advise if you can, thanx in advance

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

The easiest way to do it is to use the GD library in catalog/includes/boxes/categories.php.

 

This way if you add or delete a category or a sub category, every thing get updated automatically.

 

Of course you can just hook in there plain images.

 

Regards,

 

Nacer.

Link to comment
Share on other sites

I am unsure of what GD library means???? All I really am needing to do is have an image(button) I made to go into the categories box and it will link to a new page I built. Just a link...not a real category really.

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

or what is the proper code needed for a link to be added to column_left or column_right? Like I have a button image and it will be a standard link like this in standard html

<a href="http://my_page.php"><img src="my_source.gif" width="122" height="24" border="0"></a>

 

please advise the right way to code this for instance so I can put it under categories in column_left.php

 

thanks a lot

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

bump...

come on someone knows this simple thing, I just want to add an image to column left that will be a link under categories will be good enough! I am just not writing the code right because it breaks the page every way I tried...

Please..happy new year all!

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

bump...

come on someone knows this simple thing, I just want to add an image to column left that will be a link under categories will be good enough! I am just not writing the code right because it breaks the page every way I tried...

Please..happy new year all!

 

 

Try this...

 

Open column_left.php and just under this code

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

type...

 

echo '<a href="http://my_page.php"><img src="my_source.gif" width="122" height="24" border="0"></a>';

 

Just make sure that the image is in the images folder and your image source path is correct...depending where the page is on your site, you will probably have to use the img src="images/my_source.gif" path. Also make sure that the width of the image is not more than the width of the column which in a standard installation is something like 155px. Good luck.

Link to comment
Share on other sites

thanx--got it, happy new year!

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...