1
Tr0nc3k
Re: Hide Blocks @ Forum
  • 2005/1/3 13:48

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


Ok, finally! It's all in the $xoops_pagetitle variable.

<{if $xoops_pagetitle != "Forum"}>
            <!-- 
Start left blocks loop -->
            
            <{foreach 
item=block from=$xoops_lblocks}> 
            <
table class="left_block_table" cellpadding="0" cellspacing="0">
              <
tr
                <
td class="left_block_title" align="left" >&nbsp;<{$block.title}></td>
              </
tr>
              <
tr>
                <
td align="left" valign="top" class="left_block_content" ><{$block.content}></td>
              </
tr>
            </
table>
              
            <{/foreach}> 
            <!-- 
End left blocks loop -->
           <{/if}>



2
Tr0nc3k
Re: Hide Blocks @ Forum
  • 2005/1/3 13:39

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


Hmm, that could work but I don't think the $XoopsModule variable is returned or accesible in the theme.html.

EDIT: Nope, can't get any info about the currently used module. Or I'm doing something wrong.

Man, I didn't know it was so dificult to just disable a block in a module.



3
Tr0nc3k
Re: Hide Blocks @ Forum
  • 2005/1/3 12:56

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


Hmm, I don't think you understood me. :)

I would like to hide all the left blocks (left side) only with the forum (newbb) module.

Here's the example site: http://gw.tr0n.org/.

So when a user selects Forum from the left menu, only the forum should be displayed without the left side with the blocks and menus.

I can't set the blocks to appear everywhere but the Forum module.

There is an option $xoopsOption['show_lblock'] = 0 but it doesn’t seem to work.



4
Tr0nc3k
Re: Hide Blocks @ Forum
  • 2005/1/3 11:52

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


Hmm, how do I do this? Manually within the template or via an option in the .php files?



5
Tr0nc3k
Hide Blocks @ Forum
  • 2005/1/3 9:00

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


Hi,

I would like to hide all the blocks (right and left) when users access the forum (modules/newbb) so only the forum and the header and footer are displayed.

I've tried with $xoopsOption['show_rblock'] = 0; in the newbb/index.php file, but it doesn't seem to work (the right block is still displayed).

I'm running XOOPS v2.0.7.3.



6
Tr0nc3k
Re:Static Page & HTML Title
  • 2004/10/17 8:08

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


Still having this problem.



7
Tr0nc3k
Re: Static Page & HTML Title
  • 2004/9/7 7:18

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


JMorris: Yup, I've included the .php file as you mentioned but I would like a custom title which I think can only be changed via templates or hardcoding which I would not like to do.



8
Tr0nc3k
Re: Static Page & HTML Title
  • 2004/7/27 9:17

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


Any1? :)



9
Tr0nc3k
Re: Static Page & HTML Title
  • 2004/7/18 5:41

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


http://gw.tr0n.org/poklici/skill/skill.php?random=1

I would like the title to say Guild Wars - Skills but if I add <title> into the static skill.php file the left menu get's mixed up.



10
Tr0nc3k
Re: Static Page & HTML Title
  • 2004/7/17 7:10

  • Tr0nc3k

  • Just popping in

  • Posts: 13

  • Since: 2004/6/21


Really no ideas? :)




TopTop
(1) 2 »



Login

Who's Online

227 user(s) are online (179 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

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

Latest GitHub Commits