×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: content plugin

content plugin 13 years 2 months ago #14016

  • Vita Vaughn
  • Vita Vaughn's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
I'm using iGallery www.ignitegallery.com/guide-to-plugin which I can use with Joomla's articles. I would like to be able to add a gallery to a hotspot long description, but when I do I only get the long code and not the gallery. I read the iGallery help but the snippet of code they tell you to place in does not seem to work with HotSpots. The site I'm working on is not viewable to the public at the moment. Below is what the code looks like when I add a gallery and the snippet of code told to insert to have components work with Joomla's content plugin.

Gallery code as it appears on the front end:
{igallery id=6470|cid=20|pid=1|type=category|children=0|showmenu=0|tags=|limit=0}

Code asked to place into view.html.php replaces parent::display() : when I did this nothing happened. Stayed the same.
$o = new stdClass();$o->text = $this->loadTemplate();
JPluginHelper::importPlugin('content');
$dispatcher = &
JDispatcher::getInstance();
$results = $dispatcher->trigger('onPrepareContent', array (&$o, array(), 0));
echo $o->text;

Any and all help would be appreciated! Thanks!

content plugin 13 years 2 months ago #14017

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Vita,
Go to the settings -> I think in the advanced tab there is an option to load plugins. Select it - does this transform the gallery code?
Daniel

content plugin 13 years 2 months ago #14025

  • Vita Vaughn
  • Vita Vaughn's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Thank your for taking the time to respond so quickly. I completely overlooked that check box it seems. It is working perfectly now! Thank you again for all your help!

content plugin 13 years 2 months ago #14026

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ah nice!
If you haven't done so, please write a short review of the component here:
extensions.joomla.org/extensions/maps-a-...-locations/maps/9468
Cheers,
Daniel
  • Page:
  • 1
Time to create page: 0.110 seconds