Moderator’s note: Moved to Howto.
I’ve tried every solution I’ve been able to find on the forum and on the wiki, but none have worked for me so far. First, here’s my site.
I would like a reader to be able to click on the title of the post in the Comments section of the sidebar and be taken directly to that full comment on the comments page.
I’m currently trying to implement Method #2 in the wiki, with no success.
Here’s the code I’m using on the sidebar:
{exp:comment:entries sort="desc" orderby="date" limit="10" weblog="{master_weblog_name}" dynamic="off"}
<li>{exp:word_limit total="5"}{comment}{/exp:word_limit} {if url != ""}<a href="http://{url}">{/if}{name}{if url != ""}</a>{/if} on '<a href="http://{comment_auto_path}#{comment_id}">{title}</a>'</li>
{/exp:comment:entries}And, as I understand it, I must also place some code on the comments page so that the above code knows where to go. Here’s what I’ve got:
I’m perfectly happy tweaking this solution until it works, or using something else that works. Thanks for your help.