Hi
I got Your PM with an ask for more detailed help.
1. Please edit file: /templates/NAME_OF_YOUR_TEMPATE/html/com_k2/default/item.php
2. Find a code responsible for adding text of an article, it looks like this:
- Code: Select all
<?php if(!empty($this->item->fulltext)): ?>
<?php if($params->get('itemIntroText')): ?>
<div class="itemIntroText">
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>
<?php endif; ?>
<?php if($params->get('itemFullText')): ?>
<div class="itemFullText">
<?php echo (!empty($this->item->fulltext)) ? $this->item->fulltext : $this->item->introtext; ?>
</div>
<?php endif; ?>
3. Copy this code under the one from point 2
- Code: Select all
<?php
$modules =& JModuleHelper::getModules('NAME_OF_YOUR_NEW_MODULE_POSITION');
foreach ($modules as $module) {
echo JModuleHelper::renderModule($module);
}
?>
4. Add a module to the custom module positions called the same as the one in code added (NAME_OF_YOUR_NEW_MODULE_POSITION).
That's all
I hope this will clear everything up.