The Joomla! Extensions Directory ™


Plugin In Module Module

Many plugins can be executed only in the content page, this extension allows the execution of a plugin in a module.

2 Versions:

1.7: Compatible with Joomla 1.7
1.5: Compatible with Joomla 1.5

SORRY! No Assistance will be provided!

Mode of use:
if the plugin sting is of the type: {yootooltip title=[Tooltip Link] width=[250] mode=[cursor]}Tooltip Content{/yootooltip} then:
1. Select in "type of plugin" the option {plugin}CODE{/plugin};
2. Write in "Plugin to execute": yootooltip;
3. Write in "Additional Parameter": title=[Tooltip Link] width=[250] mode=[cursor];(or leave it blank in other case)
4. Write in "Command to insert": Tooltip Content;
5. Select custom dimensions if you want;
6 - 7. Set The size of the module (without "px").

if the plugin sting is of the type: {mosmap width='500'|height='400'|lat='52.052312'|lon='4.447141'| zoom='3'|zoomType='Large'|zoomNew='0'|mapType='Satellite'|showMaptype='1'| overview='0'|text='sv DWO'|tooltip='DWO'|marker='1'| align='center'} then:
1. Select in "type of plugin" the option {plugin CODE};
2. Write in "Plugin to execute": mosmap;
3. Write in "Command to insert": width='500'|height='400'|lat='52.052312'|lon='4.447141'| zoom='3'|zoomType='Large'|zoomNew='0'|mapType='Satellite'|showMaptype='1'| overview='0'|text='sv DWO'|tooltip='DWO'|marker='1'| align='center';
4. Select custom dimensions if you want;
5 - 6. Set The size of the module (without "px").

if you want execute a module(which try to executes a plugin inside):
1. install and activate "Modules in content Plugin": http://www.nonumber.nl/modulesincontent
2. create a "plugin in module" of type {plugin CODE}
3. in plugin to execute write: module
4. in command to insert: leave a white space and write the id of the module you want execute.

Report

2009-09-28
Reviews: 4
I really needed this functionality. In my instance I am using this with sexy bookmarks to make my bookmarks in the content-bottom module position. So I chose the {plugin CODE} type. In the box below I have "sexybookmark" (without quotes, and without {s as indicated). However when I tried to load the module all that was displayed was {sexybookmark }. Notice the space before the trailing curly bracket. If I put {sexybookmark} in the "plugin to execute" field it works but then {} are displayed above the module.

I knew it must be a coding error, so with my limited knowledge of php I started to look for extra spaces. I got to helper.php and found the culprit.

if your having the same problem

look around line 17 in helper.php for:

[code]

$miscinfo->text = $params->get('advancedbefore').'{'.$params->get('plugin').' '.$params->get('command').'}'.$params->get('advancedafter');

[/code]

and then delete the exrta space between the '' like so:

[code]

$miscinfo->text = $params->get('advancedbefore').'{'.$params->get('plugin').''.$params->get('command').'}'.$params->get('advancedafter');

[/code]

Everything was cake after that.
Owner's reply

Sorry I was full of work in the last time, I've now solved the little bug!
Thanks!

2009-06-23
Reviews: 6
I had a query getting this to work with "rokbox"
with Mario's help now sorted, parematers are as follows
. Select in "type of plugin" the option {plugin}CODE{/plugin};
2. Write in "Plugin to execute": rockbox;
3. Write for example in "Additional Parameter": title=|videoname|thumb=|images/stories/demo/image2.jpg| size=|500 400|;
4. Write for example in "Command to insert":
http://jimreichlaw.com/plugins/content/jw_allvideos/players/mediaplayer_4.0.46.swf?file=http://jimreichlaw.com/images/stories/videos/aurum.flv;
5. Select custom dimensions if you want;
6 - 7. Set The size of the module (without "px").

Great Module
Many Thanks to Mario
2009-05-12
Reviews: 5
Great little module which works for phoca gallery latest pictures plugin. I had a random bit of code displayed on my front end but a quick request for advice solved this.

Recommended
2009-05-10
Reviews: 6
If you don't need it is ok, but if you need to publish a plugin in a module position, then you have to download this module.
It is very simple to use from Backend and the support is amazing, when I used it for a web site, it has an error and I asked for a solution, within a day they give me a new file to upload and it solved the problem!!!
Thank you and keep this nice and helpful work!
2009-04-15
Reviews: 1
Very usefull, great component.

And Mario is a great person, help me to figure out an issue in may case.

Thanks Mario, and keep the good working.

Best regards,

Fernando Possebon
2009-02-25
Reviews: 1
I've the same problem of the brackets with the plugin onepixel-out plaxer. Could you give me the solution to delete them?
2009-02-18
Reviews: 1
Definetly this module solved the issue that i had with Rokbox to make it work in a module, i had some problems with the configuration but i sent an email to the owner and he help me, the only thing is that there is no way to give a class to the text above the module
2009-02-08
Reviews: 2
Great module, especially when you don't want to create empty articles with just a plug-ins.

One request: Can you add a module suffix like other modules to evoke custom module template styling?
Owner's reply

Coming Soon. Thanks

2009-02-05
Reviews: 7
I saw this plugin module and thought, who would need that, No one is gonna use this. Well the total opposite just happened! I ended up needing it and works! It actual works and it's completely Native to joomla 1.5.9. Whewp, Now I can keep my legacy boycotting on.

There was one small problem that did occur that I'm not to sure if it's something I'm doing wrong but I was trying to use the
{audio}mp3/filename.mp3{/audio} from onepixelout-player plugin and it leaves a { } at the begining and end of the player. It's weird.
Owner's reply

I think you wrong the syntax. If you want send me by email all the fields.

2009-01-22
Reviews: 2
I've been looking for a module like this for a while.
this was exactly what i needed to complete my site.
there is nothing else that can display a plugin.

thankyou very much
2009-01-19
Reviews: 1
Very good little addon, working well with a few of my modules, just still battling to get it to work hand in hand with yootooltip and custom html.
2009-01-18
Reviews: 1
It is a great module. However Could you also leave a text box in the module to let us write description of the module.For example I need to put name of the song right after MP3 player icon.
2008-12-30
Reviews: 1
This is a great module for including plugins. I was getting headache of thinking how to include some gallery plugins in other position on the site (for example a slide show in Header).

This module is small, simple to use, and does a great job for the purpose.
2008-12-19
Reviews: 2
Excellent Module.

To Answer the question on how to use it on morfeo gallery:
Type of Plugin: Plugin [CODE]
Plugin to execute: morfeo
Command to Insert: 1 (or gallery ID)
Leave everything blank!
2008-12-17
Reviews: 6
A few weeks before I saw this module I was strugling with the impossibillity of the use of plugins in modules.
I wanted to use the YooTooltip plugin in the "left" module postion (in a custom html module).
That did not work.
Bummer!

But hey...
suddenly there seemed to be a solution!
A 1.9kb module that opened possibilities.
A quick test with a simple gallery plugin resulted in a big 'hurray'.
But then...
Bummer!
The module could not deal with the more complexe syntax of the YooToolTip plugin.

I wrote an e-mail to the developper explaining the malfunction.
And within one hour I received a completely redevelopped and expanded module that took care of everything!
It's up and running now!

Five stars and two thumbs up!
1 of 1 people found this review helpful
2008-12-17
Reviews: 1
A very useful module for thousand of users. In my opinion it's something that many people was looking for... thanks a lot and a question: is it possible to modify it according to the plugin (like Morfeo) that are "{CODE}" ?
1 of 1 people found this review helpful
2008-12-15
Reviews: 238
For a long time, people complain that there is no way to run some plugin syntax inside a module. Now we have it!

Two suggestions for improvement: 1. what is the use of first parameter "Plugin to execute" ? If it is not compulsory, just remove it. Because it will produce an EXTRA {something I entered} at frontend. 2. sometimes we need to limit the dimension of this module, for example, when playing a video file. So please add new parameters to control the size.

Thanks to the author!
Page 2 of 2