Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: function to allow thumb to link to item

function to allow thumb to link to item 5 years 1 month ago #1752

  • sharnbl
  • sharnbl's Avatar Topic Author
  • Offline
  • Posts: 5
  • Thank you received: 0
In catalog view, I would like to be able to link the thumb picture to the item page. It would be great if there could be a command such as {joodb itemlink} that would return URL of item as text to place as href in anchor tag.

Please Log in or Create an account to join the conversation.

Re: function to allow thumb to link to item 5 years 1 month ago #1762

  • dirk
  • dirk's Avatar
  • Offline
  • Posts: 944
  • Karma: 19
  • Thank you received: 162
With the pro version you could realize an {joodb itemlink} command writing a joodb-plugin named itemlink.php
<?
// no direct access
defined('_JEXEC') or die('Restricted access');
$output .= $itemlink;
?>

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: dirkjoest