how to not show Header block in reviews?
capslock 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: how to not show Header block in reviews?
Philipp
From: Austria
Administrator
1342From: Austria
how to not show Header block in reviews?
This line:
should be:
This line:
if (preg_match("/review/i",$_SERVER['PHP_SELF']))
should be:
if (!preg_match("/review/i",$_SERVER['PHP_SELF']))
1 Re: how to not show Header block in reviews?
capslock
OP
0
From: -
From: -
how to not show Header block in reviews?
sorry for later ...
it displays blocks only in review.php but i need the opposite: blocks to not be displayed only in review
sorry for later ...
it displays blocks only in review.php but i need the opposite: blocks to not be displayed only in review
1 Re: how to not show Header block in reviews?
Philipp
From: Austria
Administrator
1342From: Austria
how to not show Header block in reviews?
Please send your core.php to office [-at-] esselbach [dot] com and I will take a look.
Please send your core.php to office [-at-] esselbach [dot] com and I will take a look.
1 Re: how to not show Header block in reviews?
capslock
OP
0
From: -
From: -
how to not show Header block in reviews?
sorry, it seems does'nt work
look at:
http://beta.moddingplanet.it/review.php?id=747
sorry, it seems does'nt work
look at:
http://beta.moddingplanet.it/review.php?id=747
1 Re: how to not show Header block in reviews?
Philipp
From: Austria
Administrator
1342From: Austria
how to not show Header block in reviews?
Open core.php in an editor and find:
Replace it with:
Then find:
and replace with:
Open core.php in an editor and find:
$cache = GetCache("news", "header_block");
Replace it with:
if (preg_match("/review/i",$_SERVER['PHP_SELF']))
{
$cache = GetCache("news", "header_block");
Then find:
WriteCache("news", "header_block", $thisblock, MkTime()+3600);
and replace with:
WriteCache("news", "header_block", $thisblock, MkTime()+3600);
}
Is there a way to not show Header block in reviews?