× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

function to allow thumb to link to item Joomla 3

  • kevin.webdesignmk.co
  • Offline
More
6 years 4 months ago #4638 by kevin.webdesignmk.co
function to allow thumb to link to item Joomla 3 was created by kevin.webdesignmk.co
Hi Dirk

I have read from joodb.feenders.de/forum/5-suggestions/17...to-link-to-item.html

That we can make a plugin to extend JooDB in order to add a {joodb itemlink}.
I have generated a system plugin from www.npmjs.com/package/generator-joomla3

but the code from the previous post :

<?
// no direct access
defined('_JEXEC') or die('Restricted access');
$output .= $itemlink;
?>

Can I still use this code $output .= $itemlink; in a joomla 3 Plugin?

Kind regards
Gareth

Please Log in to join the conversation.

More
6 years 4 months ago #4639 by Dirk
No joodb plugins are different they are included directly and can only use the local variables.

For Joomla articles you can use the joodb content plugin (PRO) or link directly to a Joodb Item.

Please Log in to join the conversation.

Moderators: Dirkjoest