Keyword

Module position into K2 extra field?

  • skullmonkey
  • skullmonkey's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 5 months ago #127732 by skullmonkey
Module position into K2 extra field? was created by skullmonkey
Hi,
someone know of a addon or a way so module or article to show in a extra field positions?

Thanks,
S@

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

More
10 years 5 months ago #127733 by Jacqueline
Replied by Jacqueline on topic Re: Module position into K2 extra field?
Hello,

I think you need a little code for that.. Try below:

<?php
jimport('joomla.application.module.helper');
$modules = JModuleHelper::getModules('replaceModulePositionHere');
foreach ($modules as $module) {
echo JModuleHelper::renderModule($module);
}
?>

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

More
10 years 5 months ago #127734 by Lefteris
Replied by Lefteris on topic Re: Module position into K2 extra field?
@skullmonkey

Extra fields of type text and textarea are parsing content plugins. So you can use the load module plugin into them ( {loadposition xx} ).

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum