Jump to content

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


Go to solution Solved by Daniel F,

Recommended Posts

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}}
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...