Calling a plugin within an event's description

7 years 5 months ago #941 by joelabbott
I am trying to setup a streaming mp3 file within the event's description. I have a plug-in that utilizes tags [play]...[/play] that works in articles just fine. Is there something in imagecalendar that is blocking these html tags from calling the plugin? I am placing the tags in html format in the "description" or extended information of each event.

Thanks.

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #943 by sysgenmedia
Replied by sysgenmedia on topic Calling a plugin within an event's description
Hi Joel,

We currently don't have content plugin support for the image calendar fields which is why that's not working.

Depending on the version of joomla, something like this may work, adding it to the output of that field.
$text = JHTML::_('content.prepare', $text );

I'll look into adding this in an upcoming release.

Jared

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #949 by joelabbott
Replied by joelabbott on topic Calling a plugin within an event's description
I'd like to give your code a shot. I am using Joomla 1.7

Which file would I edit the output of the description field?

Thanks for your help.

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #950 by sysgenmedia
Replied by sysgenmedia on topic Calling a plugin within an event's description
What view are you trying to display this in? or is it a Module?

Jared

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #954 by joelabbott
Replied by joelabbott on topic Calling a plugin within an event's description
I am using the List View Module. Thanks.

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #955 by sysgenmedia
Replied by sysgenmedia on topic Calling a plugin within an event's description
Try this... in v 1.5.0 (Released tonight) in modules/mod_imagecalendar_list/mod_imagecalendar_list.php

on line 112, find: echo $event->description;

and replace it with:
echo JHTML::_('content.prepare', $event->description );

Jared

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #956 by joelabbott
Replied by joelabbott on topic Calling a plugin within an event's description
Thanks for your help Jared. I understand that this should work. I think everything is a green light from image calendar, but the plugin is only scanning articles...just figured this out. I will have to contact the developer of the plugin to make it scan other content. Thanks again for the great product!

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #958 by sysgenmedia
Replied by sysgenmedia on topic Calling a plugin within an event's description
Ahhh! That would help indeed!

Good luck with that!

Jared

Please Log in or Create an account to join the conversation.

More