Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 09:08 pm EST

Geeklog Forums

Comments not linked


Status: offline

ItsCurly

Forum User
Junior
Registered: 12/05/05
Posts: 24
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,
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Switch back to professional and check.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

mst3kroqs

Forum User
Regular Poster
Registered: 10/18/05
Posts: 78
Location:Cary, NC USA
Quote 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


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!
 Quote

Status: offline

ItsCurly

Forum User
Junior
Registered: 12/05/05
Posts: 24
Many thanks, works a treat!

Curly
 Quote

All times are EST. The time is now 09:08 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