Welcome to Geeklog, Anonymous Saturday, April 20 2024 @ 05:50 am EDT
Geeklog Forums
No right blocks on story pages
Anonymous
Anonymous
How do I remove the Right Blocks from story pages, but not the Home page? Any help would be appreciated!
3
4
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You will need to hack index.php a bit to do that. At the end of that file you'll find this line:
$display .= COM_siteFooter(true); // The true value enables right hand blocks.
You need to change that so that it reads
if (empty ($topic)) {
$display .= COM_siteFooter(true);
} else {
$display .= COM_siteFooter();
}
That should do it.
bye, Dirk
2
3
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Not quite the same, but similar: When you call COM_siteHeader() or COM_siteHeader('menu') then the left blocks are displayed. But if you call COM_siteHeader('none') you get the site's header without any left blocks.
bye, Dirk
4
4
Quote
All times are EDT. The time is now 05:50 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content