Posted on: 04/03/04 11:56pm
By: kermit
Hello guys,
how can i have the right blocks in :
no right block[*1]
this page is in fact taken from users.php and profile.thtml
Thanks
Stephane
Right Block ???
Posted on: 04/04/04 12:14am
By: kermit
I tried the
$rightblock = true;
in COM_siteFooter lib-common.php
but on some pages I DON'T want the right block....
how can i do it ?
Right Block ???
Posted on: 04/04/04 12:33am
By: kermit
I just fixed it :
in user.php:
case 'profile':
$uid = COM_applyFilter ($HTTP_GET_VARS['uid'], true);
if (is_numeric ($uid) && ($uid > 0)) {
$display .= COM_siteHeader('menu');
$msg = COM_applyFilter ($HTTP_GET_VARS['msg'], true);
if ($msg > 0) {
$display .= COM_showMessage ($msg);
}
$display .= userprofile ($uid);
$display .= COM_siteFooter ($rightblock = true);
} else {
$display .= COM_refresh ($_CONF['site_url'] . '/index.php');
}
break;
yeah