Welcome, Guest
Username: Password: Remember me

TOPIC: function to allow thumb to link to item

function to allow thumb to link to item 1 year 2 weeks ago #1752

  • sharnbl
  • sharnbl's Avatar
  • OFFLINE
  • Posts: 5
  • Karma: 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.
The administrator has disabled public write access.

Re: function to allow thumb to link to item 1 year 2 weeks ago #1762

  • dirk
  • dirk's Avatar
  • OFFLINE
  • Posts: 436
  • Thank you received: 71
  • Karma: 9
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;
?>
The administrator has disabled public write access.
Moderators: dirk, joest
Protected by R Antispam