Calling plugins from jumi?

A multipurpose module, plugin and component

Calling plugins from jumi?

New postby dddienst » Wed Oct 28, 2015 10:05 pm

I have an article that only contains {jumi [*4]} and inside this jumi code is all the HTML and PHP to render the page content. However, part of the page I want to dynamicly create a URL that is used my componentsAnywhere to insert a block of code from a 3rd party component. But it wont render the plugin call from inside the Jumi php code.

If I put the html in the article then I would need a Jumi call for every time I need to use a veriable in my page content. Which would get messy and I would prefer not to do. Am I doing something wrong or is it you cant call pugins from inside a plugin?

{componet url/of/component/id=<?php echo $variable ?>}
Posts: 1
Joined: Wed Oct 28, 2015 9:31 pm

Re: Calling plugins from jumi?

New postby Edvard » Thu Oct 29, 2015 7:39 am


Inside Jumi you should be able to get the contents by making a http call, it may look like this:

<?php $content = file_get_contents(''); ?>

where tmpl=component is a special option to render HTML of the content only. You can find more info about it on: ... _component


Edvard Ananyan - 2GLux Team

Please post a review at the Joomla Extensions Directory. It is very important for us!
Site Admin
Posts: 1836
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Return to Jumi

Who is online

Users browsing this forum: No registered users and 1 guest