Posted on: 06/10/08 09:24am
By: ItsCurly
Hi, probably a dumb question, guessing its a layout issue.
When I post a comment to a story, underneath the story it says Comments(1), but this is not a link I can click on to view the comments, like it is in the Geeklog site.
But I can see the comments when I click on the story in full. Using 1.4.1 and using Chameleon just in case its a template issue.
Thanks,
Re: Comments not linked
Posted on: 06/10/08 11:55am
By: jmucchiello
Switch back to professional and check.
Re: Comments not linked
Posted on: 06/10/08 02:32pm
By: Dirk
This sure is a theme (or maybe Chameleon) issue. The Professional theme uses the variable {comments_with_count} which should turn into a link automatically once there is at least one comment.
So either you have another variable there in your theme or Chameleon is doing something differently.
bye, Dirk
Re: Comments not linked
Posted on: 06/10/08 03:46pm
By: mst3kroqs
Quote by: DirkThis sure is a theme (or maybe Chameleon) issue. The Professional theme uses the variable {comments_with_count} which should turn into a link automatically once there is at least one comment.
So either you have another variable there in your theme or Chameleon is doing something differently.
bye, Dirk
Confirmed this is a Chameleon 1.01 theme issue - I fixed this awhile back and forgot to post it to the gllabs tracker. It's not that {comments_with_count} renders to a link, there are actually a couple of themevars missing here.
Here is the fix:
In /layout/chameleon/:
archivestorytext.thtml
featuredstorytext.thtml
storytext.thtml
.. near the last few lines of the file, you will see:
Text Formatted Code
<p>{plugin_itemdisplay}{comments_with_count} {trackbacks_with_count}</p>
These need to be changed to:
Text Formatted Code
<p>{plugin_itemdisplay}{start_comments_anchortag}{comments_with_count}{end_comments_anchortag} {trackbacks_with_count}</p>
Enjoy!
Re: Comments not linked
Posted on: 06/11/08 07:20am
By: ItsCurly
Many thanks, works a treat!
Curly