31
erzon
Re: Making Module
  • 2005/1/22 10:55

  • erzon

  • Quite a regular

  • Posts: 211

  • Since: 2005/1/1 3


i know that what i want is my right block in my module should disapper as in disappear but only on that module because i want to put some script on the center that needs more space

32
Dave_L
Re: Making Module
  • 2005/1/22 11:07

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


erzon, is your module otherwise working? If so, can you post it (the complete module) as a .zip or .tar.gz somewhere? I'll take a look at it and see why the right-blocks are being displayed.

33
sgshell
Re: Making Module
  • 2005/1/25 2:48

  • sgshell

  • Just popping in

  • Posts: 94

  • Since: 2004/10/4


To remove right block, I have change the
$xoopsOption['show_rblock'] = 0;
to
$xoopsTpl->assign('xoops_showrblock', 0);

it work perfectly to remove right block...


For those who also like to remove leftblock in yours modules
you can just add this in the theme template:

on the left side before the ''

Quote:
<{if $remove_lblock != 1}>//this the line to add


<{foreach item=block from=$xoops_lblocks}>
<{include file='default/theme_blockleft.html'}>
<{/foreach}>



<{/if}>//endif this the 2nd line to add here

add this code in the modules to remove the left block
$xoopsTpl->assign('remove_lblock', 1);

Tips: The above force remove of left or right block, if it do not remove the leftblock or rightblock goto the themes and check the code.

34
erzon
Re: Making Module
  • 2005/1/25 3:33

  • erzon

  • Quite a regular

  • Posts: 211

  • Since: 2005/1/1 3


whats the format??

$xoopsTpl->assign('xoops_showrblock', 0);

like that?? i try to put it but dont work

or just assign('xoops_showrblock', 0);

Login

Who's Online

659 user(s) are online (187 user(s) are browsing Support Forums)


Members: 0


Guests: 659


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