Elxis CMS Forum
Extensions => Bots and plugins => Topic started by: kyomar on May 12, 2013, 08:15:03
-
Hi, Is it possible to have the accuweather module as a plugin? I would like to show the weather in a tab (tab plugin) and as far as I know it is not possible to run a module within a module.
Thank you for considering my suggestion!
-
Loading modules within plugins can be done but you need a special plugin to do so.
An other solution is to modify the tab plugin to load directly the module from there but you need to handle specially the load of the module (save into buffer instead of echo).
What you want to do is too messy. It can be done but whatever solution you think of (there are many) there will be always issues you will have to take care.
The orthodox way is to load plugins inside modules (which is supported), not modules inside plugins.
-
thank you datahell for you quick reply. In this case I will have to use the code from accuweather's website although I like the elxis module better and it's also loading much faster. I didn't expect it to be that difficult, thought could load the module like the loadposition function in joomla (sorry, I am an old joomla user).
-
I didn't expect it to be that difficult, thought could load the module like the loadposition function in joomla (sorry, I am an old joomla user).
kyomar, the loadposition is basically an OLD option from Mambo !!