Where do I change the New, Hot or editor picks details listed in rows. I want to use images rather than text.
Thanks
Where do I change the New, Hot or editor picks details listed in rows. I want to use images rather than text.
Thanks
Edit /lib/link.class.php line 55-59
PHP Code:var $icon_new = "<b><font size=2 color=Blue>New</font></b>";
var $icon_updated = "<b><font size=2 color=Green>Updated</font></b>";
var $icon_top_rated = "<b><font size=2 color=Maron>Top Rated</font></b>";
var $icon_hot = "<b><font size=2 color=Red>Hot</font></b>";
var $icon_pick = "<b><font size=2 color=gray>Pick</font></b>";
Amanda,
Did you succeed with this? Please let me know the syntax.
Thank you
Binto
Yep Binto, it works!!
Please how did you add the img src tag?
I get a parser error message saying expecting `'," or `';" .....
Thank you
Binto, be careful with " and ' characters, you may have like this:
PHP Code:var $icon_new = "<b><font size="2" color="Blue">New</font></b>";
Last edited by dody; 11-29-2001 at 05:32 PM.
Thank you very much but I want to replace the word 'New' with an image file like <'img src="xyz.gif">
I am please asking for the correct syntax.
Here is, the safest is by using fill http:// address for image location
PHP Code:var $icon_new =
"<img src=http://yourdomain.com/images/new.gif";
Here is, the safest is by using full http:// address for image location
PHP Code:var $icon_new =
"<img src=http://yourdomain.com/images/new.gif";