Joomla 1.0 Articles
- How to create a module with DirectPHP plugin?
- How to include modules in Content item?
- How to include modules in Section/Content Description
- How to include PHP commands in Section/Content Description
- How to make plugins process Section/Category descriptions
- Include Code Listing plugin - More Tips and Techniques
- How to have DirectPHP plugin process RSS feed?
Joomla 1.5 Articles
- How to create a module with DirectPHP plugin?
- How to include modules in Content item?
- How to include modules in Section/Content Description
- How to include PHP commands in Section/Content Description
- How to make plugins process Section/Category descriptions
- Include Code Listing plugin - More Tips and Techniques
- How to have DirectPHP plugin process RSS feed?
|
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;
}
User reviews There are no user reviews yet. Note: You have to be a registered member to leave a comment. Free registration here. |
||
| < Prev | Next > |
|---|

