How to include modules in Section/Content Description (for Joomla 1.0.x)? |
| Written by kksou | ||
| Sunday, 20 April 2008 | ||
|
This is in response to Filipe Torres's post titled "How to include modules in section/category description". The standard mosloadposition plugin that comes bundled with the original Joomla 1.0.x installation only allows you to embed modules in content items. This article shows you how to embed modules in Section/Category description. You can see a live example here. Solutions
class HTML_content {
/**
* Draws a Content List
* Used by Content Category & Content Section
*/
function showContentList( $title, &$items, &$access, $id=0, $sectionid=NULL,
$gid, &$params, &$pageNav, $other_categories, &$lists, $order,
$categories_exist ) {
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$results = $_MAMBOTS->trigger( 'onBeforeDisplayTitle', array( &$title) );
global $Itemid, $mosConfig_live_site;
if ( $sectionid ) {
$id = $sectionid;
}
|
||
| < Prev | Next > |
|---|




