Welcome to Geeklog, Anonymous Thursday, November 21 2024 @ 03:06 pm EST
Geeklog Forums
Comments Icon
Status: offline
tmarquez
Forum User
Regular Poster
Registered: 06/17/03
Posts: 70
I tried to searching through the forums to see if this has been covered, so forgive me if it has been. I REALLY wanted a comments icon. So this is how I accomplished this:
1. Headed my storytext.thtml (and featuredstorytest.thtml) in my layouts directory adding {comments_icon} where I wanted the icon to appear.
2. Then I uploaded the comment.gif (or png depending on your image setting) to my layoutimages directory.
3. Then I edited the lib-story.php in the system/ directory. Around line 343, I added the following text:
. '<img src="' . $_CONF['layout_url'] . '/images/comment.'
. $_IMAGE_TYPE . '" alt="' . $LANG01[60] . '" "'
. $LANG11[60] . '" border="0"></a>' );
NOTE: Always remember to back up your files before doing any hacks.
T.Marquez Jr. -
Webmaster -
www.indianapolisfilm.net - Geeklog 1.4.0sr5-1
1. Headed my storytext.thtml (and featuredstorytest.thtml) in my layouts directory adding {comments_icon} where I wanted the icon to appear.
2. Then I uploaded the comment.gif (or png depending on your image setting) to my layoutimages directory.
3. Then I edited the lib-story.php in the system/ directory. Around line 343, I added the following text:
Text Formatted Code
$article->set_var( 'comment_icon', '<a href="' . $postCommentUrl . '">'. '<img src="' . $_CONF['layout_url'] . '/images/comment.'
. $_IMAGE_TYPE . '" alt="' . $LANG01[60] . '" "'
. $LANG11[60] . '" border="0"></a>' );
NOTE: Always remember to back up your files before doing any hacks.
T.Marquez Jr. -
Webmaster -
www.indianapolisfilm.net - Geeklog 1.4.0sr5-1
11
17
Quote
All times are EST. The time is now 03:06 pm.
- 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