1
V6-Maniac
Display blocks in system pages...?
  • 2006/1/18 12:24

  • V6-Maniac

  • Just popping in

  • Posts: 86

  • Since: 2005/2/15


After almost one week of searching i can't find the thread where this topic off mine is about.
I know there was one but now its gone.

What is the problem
I am using V2.0.13.2 and in the standard version blocks will dissapere when you visit for example the profile page.

I want blocks on the left and right side to show up at the core module pages.
And for example not in the forum module.
I know this can be done by the blocksadmin.
But there is the problem.
I can select every module and the block will dissapere when you visit my forum.
But by selecting every page and unselect the forum they will be back again in the forum even if i unselect the forum module.

What Solution to look for?
I know this problem can be solved by hacking some files.
I've tryed searching into the core files.
And tryed to find an logical explaination of module and block ID's.
But still i can't find an solution.

Who want to help me?
Which files have to be hacked for solving this problem?
Or is there an simple change to make somewhere?
To show left and right blocks in the core module pages.
And still beable to unselect other modules.

Many thx...

2
V6-Maniac
Re: Display blocks in system pages...?
  • 2006/1/24 21:52

  • V6-Maniac

  • Just popping in

  • Posts: 86

  • Since: 2005/2/15


Bump

3
V6-Maniac
Re: Display blocks in system pages...?
  • 2006/5/25 21:12

  • V6-Maniac

  • Just popping in

  • Posts: 86

  • Since: 2005/2/15


Yet another bump...

4
Quest
Re: Display blocks in system pages...?
  • 2006/5/25 21:48

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


What forum module are you using?

5
V6-Maniac
Re: Display blocks in system pages...?
  • 2006/5/25 21:51

  • V6-Maniac

  • Just popping in

  • Posts: 86

  • Since: 2005/2/15


Quote:

Quest wrote:
What forum module are you using?


I use CBB 1.16a

6
spankee
Re: Display blocks in system pages...?
  • 2006/5/25 22:18

  • spankee

  • Just popping in

  • Posts: 89

  • Since: 2005/11/13


Ok, here is what works for my theme:

Almost forgot, this change is made in xoops/themes/yourtheme/theme.html

show left blocks
<table cellspacing="0" width="100%">
   <
tr>
         <{if 
$xoops_showlblock == 1}>
     <
td id="leftcolumn" width="100%">
       
       <{foreach 
item=block from=$xoops_lblocks}>
               <{include 
file="craig/theme_blockleft.html"}><br />
           <{/foreach}>
       
     td>
     <
td width="8">&nbsp;td>
         <{/if}>


no left blocks
<table cellspacing="0" width="100%">
   <
tr>
         <{if 
$xoops_dirname == 'newbb'}>
             <
td>td>
         <{else}>    
         <{if 
$xoops_showlblock == 1}>
     <
td id="leftcolumn" width="100%">
       
       <{foreach 
item=block from=$xoops_lblocks}>
               <{include 
file="craig/theme_blockleft.html"}><br />
           <{/foreach}>
       
     td>
     <
td width="8">&nbsp;td>
         <{/if}>
         <{/if}>


I have been meaning to do this myself.

7
V6-Maniac
Re: Display blocks in system pages...?
  • 2006/5/25 22:26

  • V6-Maniac

  • Just popping in

  • Posts: 86

  • Since: 2005/2/15


@ Spankee

Your the greatest...
That i never thought off that idea.
This is verry simpel and works great.
Many, many, many thx...

8
spankee
Re: Display blocks in system pages...?
  • 2006/5/25 23:52

  • spankee

  • Just popping in

  • Posts: 89

  • Since: 2005/11/13


I should be thanking you--I have been meaning to implement this myself for months!
Thanks for the motivation.

Login

Who's Online

275 user(s) are online (173 user(s) are browsing Support Forums)


Members: 0


Guests: 275


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