Welcome to Geeklog, Anonymous Saturday, November 30 2024 @ 07:47 am EST
Geeklog Forums
Add image to topic list
xico_lopez
Anonymous
I'm wondering how to add a icon to each item in the topic list. Just a little image about the topic like say a image of question mark for help or something like that.
Thanks guys
4
2
Quote
xico_lopez
Anonymous
Thanks, i just play with it and i think i'll can do it. I have to add a
field to the topic table in order to put the desired image.
2
4
Quote
solomon
Anonymous
Hi
I wish to do this also - have a little looksie at what I'm working on. You will notice that it's pretty heavily re-templated.
You will also see the little orange arrow in the left column. What I want to do is have this icon next to each element in the right hand topic navigation. This navigation links to various static pages.
I can achieve it by templating the footer to accommodate this but this is not particularly X-browser compatible and means I need to alter it if we drop or make new pages.
I've had a look at lib-common and tried hacking COM_showtopics by changing
return $retval;
to
$retval = "<img src="yada yada"> ".$retval;
return $retval;
but have not had much success.
Does anyone know how to hack this function properly? I hope I've managed to explain this well enough for someone to give me a hand here
Cheers
I wish to do this also - have a little looksie at what I'm working on. You will notice that it's pretty heavily re-templated.
You will also see the little orange arrow in the left column. What I want to do is have this icon next to each element in the right hand topic navigation. This navigation links to various static pages.
I can achieve it by templating the footer to accommodate this but this is not particularly X-browser compatible and means I need to alter it if we drop or make new pages.
I've had a look at lib-common and tried hacking COM_showtopics by changing
Text Formatted Code
return $retval;
to
$retval = "<img src="yada yada"> ".$retval;
return $retval;
but have not had much success.
Does anyone know how to hack this function properly? I hope I've managed to explain this well enough for someone to give me a hand here
Cheers
6
6
Quote
solomon
Anonymous
d'oh
there's me looking for the hard way to do it when all I needed to do was look in topicoption.thtml!
there's me looking for the hard way to do it when all I needed to do was look in topicoption.thtml!
3
6
Quote
All times are EST. The time is now 07:47 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content