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

TOPIC:

function to allow thumb to link to item 8 years 6 months ago #1752

  • sharnbl
  • sharnbl's Avatar Topic Author
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 8 years 6 months ago #1762

  • Dirk
  • Dirk's Avatar
  • Offline
  • Posts: 1185
  • Karma: 21
  • Thank you received: 224
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