I got it! Thanks to Joomlancers
Was missing a bit of the hack. Here is what needs to be done to get this to work:
In content.php around row 1254 you need to comment OUT the following (all I had of the original hack):
Code: Select all
if ( $descrip && $description->description ) {
echo $description->description;
}
Now after you comment the above out add this right after it:
Code: Select all
//Edit the above out to enable HACK
// HACK TO PARSE MAMBOTS IN SECTIONS AND CATEGORIES
// orginally written by John Cox
if ( $descrip && $description->description ) {
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$temp = new stdClass;
$temp->text = $description->description;
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$temp, &$params, 0 ), true );
echo $temp->text;
}
// HACK TO PARSE MAMBOTS IN SECTIONS AND CATEGORIES
Now in content.html.php (missing part to hack) around row 30-31 look for:
Code: Select all
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,
global $Itemid, $mosConfig_live_site;
Right after this section insert:
Code: Select all
// HACK TO PARSE MAMBOTS IN SECTIONS AND CATEGORIES
// orginally written by John Cox
if ( $title && $title->description ) {
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$temp = new stdClass;
$temp->text = $title->description;
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$temp, &$params, 0 ), true );
$title->description = $temp->text;
}
// HACK TO PARSE MAMBOTS IN SECTIONS AND CATEGORIES
Somewhere around row 147 look for this (another missing part):
Code: Select all
$width = 'width="'. intval( $col_with ) .'%"';
echo '<table width="100%" cellpadding="0" cellspacing="0">';
$z = 0;
$total = count($other_categories);
foreach ( $other_categories as $row ) {
After insert this:
Code: Select all
// HACK TO PARSE MAMBOTS IN SECTIONS AND CATEGORIES
// orginally written by John Cox
if ( $row && $row->description ) {
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$temp = new stdClass;
$temp->text = $row->description;
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$temp, &$params, 0 ), true );
$row->description = $temp->text;
}
// HACK TO PARSE MAMBOTS IN SECTIONS AND CATEGORIES
And I _think_ that is everything. I do have the original files I was sent as part of the contract someplace in my email...so if that doesn't get it I can look for those and just post them directly somehow.