Jump to content

[BUG 4.7.5] Topic feed widget is not checking the $tableHoverUrl variable to display the preview

Featured Replies

Posted

This is the code handling the topics hover preview for forum view in applications/forums/dev/html/front/forums/topicRow.phtml on line 115:

{{if $row->tableHoverUrl and $row->canView()}} data-ipsHover data-ipsHover-target='{$row->url()->setQueryString('preview', 1)}' data-ipsHover-timeout='1.5'{{endif}}

 

And this instead is the code for the Topic Feed widget template in applications/forums/dev/html/front/global/row.phtml on line 45:

{{if $topic->canView()}}data-ipsHover data-ipsHover-target='{$topic->url()->setQueryString('preview', 1)}' data-ipsHover-timeout='1.5' {{endif}}

The widget is missing the $topic->tableHoverUrl part of the check and should be updated to:

{{if $topic->tableHoverUrl and $topic->canView()}}data-ipsHover data-ipsHover-target='{$topic->url()->setQueryString('preview', 1)}' data-ipsHover-timeout='1.5' {{endif}}

Solved by Daniel F

Go to solution
  • 2 weeks later...
  • Solution

I have fixed this for an upcoming release

  • 3 months later...
On 12/13/2022 at 2:35 PM, Daniel F said:

I have fixed this for an upcoming release

@Daniel F it seems this is happening to "Similar Content" widget too. Can you check it out please? Thanks 

  • Author

I made a separate bug report for it:

Recently Browsing 0

  • No registered users viewing this page.