Hi
I was browsing through the forum in relation to adding a grahic beside the title of the categories, none of the solutions would appear to work, possibly because I have so many mods.
I found a simple but not perfect solution.
By simply adding this you can place graphics in a directory, by calling them the category name.
The problem is if they contain more than one word category name removes _ and /.
In the sub routine in site_html_templates.pl you find
I take it if you could enter another scalar in here that would give you the category name including the _ but not the / then this would be the name of the directory, and hey all would be great.
Could some nice programmer help me out or am I way off the mark
thanks
DavyC
I was browsing through the forum in relation to adding a grahic beside the title of the categories, none of the solutions would appear to work, possibly because I have so many mods.
I found a simple but not perfect solution.
Code:
<img src="/pathto/images/$category_name.gif" border="0">The problem is if they contain more than one word category name removes _ and /.
In the sub routine in site_html_templates.pl you find
Code:
my ($url, $numlinks, $mod, $subcat, $category_name, $description, $output, $i);Could some nice programmer help me out or am I way off the mark
thanks
DavyC