Keyword

Adding allvideo plugin for own component.

  • deepaksinghkushwah
  • deepaksinghkushwah's Avatar Topic Author
  • Offline
  • New Member
More
13 years 1 month ago #49237 by deepaksinghkushwah
Adding allvideo plugin for own component. was created by deepaksinghkushwah
Hi, I have used allvideo plugin in articles. It work perfectly. But now I have developed own extension and want to use all video plugin in that to display videos in my extension content. It's display raw text ({youtube}videoid{/youtube} as I placed in my extension content.

Can anyone please tell me a way to use this marvelous extension in own components.

System Info:
PHP 5.3.x
Joomla 1.5.22
Allvideo Plugin: 4.4

Kind Regards
Deepak Singh Kushwah

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

More
11 years 7 months ago #49238 by deywibkiss
Replied by deywibkiss on topic Re: Adding allvideo plugin for own component.
I have the same issue... can you please help us?

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

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 7 months ago #49239 by Yiota
You have to make your extension able to render content plugins.
If you have a variable, like

echo $itemText, for example,

and need the plugin to render in that variable's results, then you will have to change that variable to

echo JHTML::_('content.prepare', $itemText);

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


Powered by Kunena Forum