1
TwoWorlds
Removing sideblocks for forums?
  • 2005/5/17 14:29

  • TwoWorlds

  • Just popping in

  • Posts: 19

  • Since: 2005/4/14


Hey,

Im using XOOPS 2.0 and was wondering whether you can remove the left and right blocks when on the forums?

I know its possible with php but not sure whether with xoops?

Can anyone help, thanks guys.

Dean
Two Worlds

2
WarDick
Re: Removing sideblocks for forums?
  • 2005/5/17 14:38

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Get the Ximple theme from HTTP://XOOPS.ORG.CN website it has everything you need.

3
davidl2
Re: Removing sideblocks for forums?
  • 2005/5/17 14:51

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Kubric - which is still listed on the front page - also does this

4
phppp
Re: Removing sideblocks for forums?
  • 2005/5/17 14:52

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


the ximple theme is based on XOOPS 2.09
for XOOPS 2.010, it still works but not so clean

three key points:
1 in the module side, set
$xoopsOption['xoops_showrblock'] = 0;
$xoopsOption['xoops_showlblock'] = 0;


2 in xoops/header.php, make sure you have
if(isset($xoopsOption['xoops_showrblock']) && ($xoopsOption['xoops_showrblock']==0)) $xoopsTpl->assign('xoops_showrblock'0);
    if(isset(
$xoopsOption['xoops_showlblock']) && ($xoopsOption['xoops_showlblock']==0)) $xoopsTpl->assign('xoops_showlblock'0);


3 in your theme.html, make sure you have
<{if $xoops_showlblock}> 
...
<{if
$xoops_showrblock}>
...


If you use table-free theme, it is more complex than table-based, the ximple theme just gives one possible solution

5
TwoWorlds
Re: Removing sideblocks for forums?
  • 2005/5/24 16:22

  • TwoWorlds

  • Just popping in

  • Posts: 19

  • Since: 2005/4/14


Hey the problem is I have a perfect theme now,

Is there no way of doing it without changind theme?

Dean

Login

Who's Online

189 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits