Plugin Include Component Plugin

This plugin is to include a component in an article without an iframe. So the links will work like in an normal page and styling of the site wil be used and also the style of the component. This version solves the problem when a visitor has to be registered. In previous versions a login page was shown.

Code is {component}url{/component}
Replace url with the url to your component and include index.php?
For example:
{component}index.php?option=com_component&Itemid=73¶meters....{/component}

You maybe need to change the url when using an SEF component. If you get a component not found when using normal url then use the SEF url. So not:
index.php?option=com_contact&lang=en&view=category
but:
Contact-Us/category/

Report

byassur3 on October 22, 2009
No fuss, no bother, does what it says. I love plug-ins that do what they say without busting my brain cells. Yes!
bycrony on September 20, 2009
Very good support !
The 1.4 version is not having any problems with subdirectories.

Carefull, the syntax must be :
{component}index.php?option=com_xxx{/component}

instead of:
{component}option=index.php?com_xxx{/component}

Thanks for sharing !
bydaahspapa on September 17, 2009
This is exactly what I was searching for and had almost given up hope. Thanks for the great code, works just like stated.
As I knew the existence of this plugin, life is much better! =D It's definitely essential to be integrated into my website! It's a reccomended plugin especially when you need to show your components at your front page! I was looking and trying out the rest of the plugins that perform the similar function, but none work out well as to what I wanted! Finally, as I found this plugin, everything was worth it!

At first as I tried to install it, I had problem with it, so I emailed the creator of the plugin, Mr Mike himself. I was so glad that he replied pretty soon! Speedy reply and being helpful he was.

Try it out to know its excellence! =D

Thanks again to Mr Mike for the great plugin!
byDanielKonstanz on August 2, 2009
well.... first nobody said that you need the core design plugin scriptegrator to make this plugin run... then after installing that, the message "404 component not found" keeps coming up. Probably its not working with SEF turned on :-(( that would be a very weak point. I had to switch back to the old plugin "load component in module position"
Owner's reply

You don't need the core design plugin scriptegrator to make this plugin run. Please send me an email with your problem and I'll look into it for you.

Nice and simple way to embed a component into an article.

No problems installing or using the plugin after a) I got my head around finding the Component URL with SEO turned on! B) Learning how to include left and right menus when you click the any of the links in the embeded component.

Nice work, thank you!
byresearchware on July 28, 2009
One of my Joomla frustrations is that there is content generated by certain components that can only be accessed via a menu item and the component provided no means to provide introductory text to guide the person access the materials or fucntion. This little plug in solves all that. It lets you embed any component (i.e. anything you can get to as a menu item) in an article. The only challenge for beginners is racking for component parameters from the makers of the component you want to embed since they must be passed as URL parameters rather than select from checkboxes, etc. Mike was very helpful with a minor problem that turned out to be a template artifact and not related to his plugin at all.
Very good idea, but won't work so good with subdirectories. Hack: in file plugins/content/plugin_component.php must add before index.php name of catalog (approx in line 69). But then, when trying submit Jml standard contact form, site gets error 'Invalid Token', maybe this depends from server conf.
Owner's reply

Can you send me an email with the problem, maybe I can help you to solve it and make the plugin evolve

The plugin is straightforward and very effective. I had a small issue, but Mike jumped right on it and fixed the problem in a flash.
bycelius on July 10, 2009
I love it. It does the job perfectly.

The only thing is that it does something to the CSS of the site and changes the background color of the template.
Owner's reply

Can you send me an email with the problem, maybe I can help you to solve it and make the plugin evolve

byRajah on July 5, 2009
Does what it says. I could not get it working in a subdirectory.
bygeorgev on July 3, 2009
I would even say as simple as genius.

I did not try it myself, it but seems this is the simplest way to position several components at the same page.

I do not say about one component positioning inside some text.

Thank you for the idea. Really briliant.