It is possible to easily add Joomla module positions into any HWDMediaShare component view.

To add a module position, you firstly need to load the module helper file at the top of the template file.

JLoader::register('hwdMediaShareHelperModule', JPATH_COMPONENT . '/helpers/module.php');

Then you can load any module position using the following code.

<?php echo hwdMediaShareHelperModule::_loadpos('position'); ?>

Login to view documentation

Sorry, the full article is visible to subscribers only.

Login   Subscribe