Welcome to Geeklog Wednesday, August 21 2019 @ 03:25 am EDT

Geeklog Forums

Comments not linked


Status: offline

ItsCurly

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

Status: offline

jmucchiello

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

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/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

Status: offline

mst3kroqs

Forum User
Regular Poster
Registered: 18/10/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:

PHP Formatted Code
<p>{plugin_itemdisplay}{comments_with_count} {trackbacks_with_count}</p>
 

These need to be changed to:

PHP Formatted Code
<p>{plugin_itemdisplay}{start_comments_anchortag}{comments_with_count}{end_comments_anchortag} {trackbacks_with_count}</p>
 


Enjoy!

Status: offline

ItsCurly

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

Curly

All times are EDT. The time is now 03:25 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