1. Open smf.php in the frontend component (around line 115)
Make the function look like this:
Code:
fixMamboUrls($buffer, $mosurl);
if (defined(pack('H*',"5f534d46315f"))) {
// Page titles hack start
// Parameters
$menu =& new mosMenu( $database );
$menu->load( $Itemid );
$params =& new mosParameters( $menu->params );
// Display the page title
?>
<div class="componentheading<?php echo $params->get( 'pageclass_sfx' ); ?>">
<?php echo $menu->name; ?>
<?
// Page titles hack end
echo $buffer;
unset($buffer);
}
if (defined(pack('H*',"5f534d46315f"))) {
// Page titles hack start
// Parameters
$menu =& new mosMenu( $database );
$menu->load( $Itemid );
$params =& new mosParameters( $menu->params );
// Display the page title
?>
<div class="componentheading<?php echo $params->get( 'pageclass_sfx' ); ?>">
<?php echo $menu->name; ?>
<?
// Page titles hack end
echo $buffer;
unset($buffer);
}
PS: Big thanks to Pedro from www.globodigital.net for working this out.
Cheers,
Max
Forum 







