1
iolai
Right column, wrapping code...
  • 2004/8/4 0:11

  • iolai

  • Quite a regular

  • Posts: 206

  • Since: 2004/6/26


I have several pages I wrapped with
-----------------------------------
include("../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
?>
Text here
include(XOOPS_ROOT_PATH."/footer.php");
?>
-----------------------------------

In addition, I have a few modules, like myalbum and forums.

Now, I want to remove the right column from myalbum and forums modules.
I did it in administration->blocks, and it went ok, HOWEVER, I noticed that the right block disappeared on all the pages I wrapped before with the aforementioned method.

Any idea what makes the right block disappear, even that I have "$xoopsOption['show_rblock'] = 1;" in the wrap code?

2
peterr
Re: Right column, wrapping code...
  • 2004/8/11 10:19

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Hi,

Quote:

iolai wrote:
Any idea what makes the right block disappear, even that I have "$xoopsOption['show_rblock'] = 1;" in the wrap code?


From http://www.macambridge.com/dummies/

Quote:

How to wrap static HTML content in Xoops

The following applies If you wish to have a page of HTML content wrapped inside XOOPS without using a content module. This example works if you want the HTML content files to be located in the root of your XOOPS installation. First create a PHP file with the following content using your favorite text editor. Notepad for windows is suitable for example.

include("mainfile.php");
include("header.php");
$xoopsOption['show_rblock'] = 1; //0 for no right block
?>

Your HTML Code here (Note: Do not include head and body tags)

include("footer.php");

?>


So, you need it set to zero for no display of the right block.

Peter

3
iolai
Re: Right column, wrapping code...
  • 2004/8/27 18:05

  • iolai

  • Quite a regular

  • Posts: 206

  • Since: 2004/6/26


I added $xoopsOption['show_rblock'] = 0; in index.php of newbb, but the right block is still showing.

Notice, I know how to remove the right block with admin menu, the main problem is when I do it, it also disappears in the pages I wrap, and not only in the selected modules.

I just want to make sure I am understood, so I am quoting what I've written before:

Quote:

Now, I want to remove the right column from myalbum and forums modules.
I did it in administration->blocks, and it went ok, HOWEVER, I noticed that the right block disappeared on all the pages I wrapped before with the aforementioned method.

4
iolai
Re: Right column, wrapping code...
  • 2004/8/30 21:09

  • iolai

  • Quite a regular

  • Posts: 206

  • Since: 2004/6/26


Anybody? Help? Please?

Login

Who's Online

473 user(s) are online (57 user(s) are browsing Support Forums)


Members: 0


Guests: 473


more...

Donat-O-Meter

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

Latest GitHub Commits