====== getModules ====== {#JAPI Joomla.Framework Application JModuleHelper::getModules #} Get modules by position ===== Syntax ===== array &getModules ( **$position** ) | **$position** | string | The position of the module | ===== Examples ===== $modules = &JModuleHelper::getModules('top'); foreach (array_keys($modules) as $m) { echo JModuleHelper::renderModule($modules[$m]); } The example might render the following HTML snippet (possibly generated by the mod_newsflash module):
Joomla! 1.5 - 'Experience the Freedom'!. It has never been easier to create your own dynamic site. Manage all your content from the best CMS admin interface and in virtually any language you speak.
This is essentially the same as using %%%% in the site template. ---- ~~DISCUSSION~~