Hot or Not - how to remove link from listing 4 years 5 months ago #1

  • PHP User
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 23
Hello,
Just purchased Hot or Not and have a question:

Each post shows a link to the image. We need to remove this from the display, for cybersecurity reasons.

Is there a setting in Hot or Not to do this?

If not, is there a workaround that you can recommend? CSS?

Thanks!
Last Edit: 4 years 5 months ago by PHP User. Reason: extra comment not needed
The administrator has disabled public write access.

Hot or Not - how to remove link from listing 4 years 5 months ago #2

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 4856
Hello!

You can edit [Joomla dir]/components/com_hotornotfactory/views/item/tmpl/default.php and delete or comment out:
<p style="margin-bottom: 0;">
                <i class="mediafactory-icon-chain"></i>&nbsp;<span class="share-link"
                                                                   style="cursor: pointer;"><?php echo MediaFactoryRoute::view('item&id=' . $this->item->id, null, -1); ?></span>
            </p>
thePHPfactory Customer Support
The administrator has disabled public write access.

Hot or Not - how to remove link from listing 4 years 4 months ago #3

  • PHP User
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 23
Thank you. This solution worked for us.
Suggestion: Add an option in the admin area to turn this link on or off.
The administrator has disabled public write access.

Hot or Not - how to remove link from listing 4 years 4 months ago #4

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 4856
We'll take your request into consideration for the next releases of the extension.
thePHPfactory Customer Support
The administrator has disabled public write access.