Welcome, Guest
Username: Password: Remember me
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
  • Page:
  • 1

TOPIC:

function to allow thumb to link to item Joomla 3 3 years 11 months ago #4638

  • kevin.webdesignmk.co
  • kevin.webdesignmk.co's Avatar Topic Author
  • Offline
  • Posts: 5
  • Thank you received: 0
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 or Create an account to join the conversation.

function to allow thumb to link to item Joomla 3 3 years 11 months ago #4639

  • Dirk
  • Dirk's Avatar
  • Offline
  • Posts: 1186
  • Karma: 21
  • Thank you received: 225
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 or Create an account to join the conversation.

  • Page:
  • 1
Moderators: Dirkjoest