Hi

I've set the best reply to go to the top of the comments. Clicking the title link goes to a URL like this:

mysite.com/bestreply/getcomment/5#comment-5

Clicking this link opens the comment in a blank page - no Drupal template or formatting, just the comment title and text on a white page.

Normal comments have a title link like this, which works fine:

mysite.com/node/15#comment-6

Thanks

Comments

taslett’s picture

Assigned: Unassigned » taslett

Hi facelikebambi,
Ok i see whats happening now.
Your clicking on the title of the clone of the bestreply, that has been moved to the top, when the original comment was not on the first page.

The path is used by the JavaScript to return the comment when it's not on the first page, then template_preprocess_comment in comment.module is using $_GET['q'] to make the title.

At least I know what's happening now, I should be able to work out a solution.

Jason Dean’s picture

Hi taslett

Thanks for looking into this. All I would add is that the original comment is on the first page - there are only 3 comments for the node and the second was marked bestreply and cloned at the top.

As you say, the problem occurs when clicking the title of the cloned comment.

Cheers

taslett’s picture

Status: Active » Closed (fixed)

Hi facelikebambi,
This should be fixed in the 6.x-6.x-dev version.