Jump to content

Post Feed Block: Link to New Unread Post?


GrooveOnBeat

Recommended Posts

The default URL string goes to the comment ID. Is it possible to link to the first unread post instead?

The original URL string is

<a href='{$comment->item()->url()->setQueryString( array( 'do' => 'findComment', 'comment' => $comment->pid ) )}' data-ipsTooltip title='{lang="share_this_comment"}' data-ipsMenu data-ipsMenu-closeOnClick='false' id='elShareComment_{$comment->pid}' data-role='shareComment'>

I changed it to

<a href="{$comment->url()->setQueryString( 'do', 'getNewComment' )}" title='{lang="view_this_topic" sprintf="$comment->item()->title"}' class='ipsType_medium ipsType_break'>

While it's an improvement, the link does not take the user to the first unread post. Secondly, at the end of the URL string is the comment ID.

Is there something I can change?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...