Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 01:36 am EST

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!
 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
 Quote

Status: offline

Creator

Forum User
Full Member
Registered: 07/11/02
Posts: 181
Location:Austin, TX
What about left blocks? Same thing?
L. Whitworth
 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
 Quote

All times are EST. The time is now 01:36 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