1
cleber
Check modules at center block
  • 2006/6/3 13:49

  • cleber

  • Just popping in

  • Posts: 11

  • Since: 2002/7/17


Hi,

Is there a way to check if the center block, or how many block there are in the center block in the theme.html?
My approach is to show a custom page if the "nobody" is chose in the module to start in the general preferences.

Any suggestion?
Thanks,

2
kevinv
Re: Check modules at center block
  • 2006/6/3 15:13

  • kevinv

  • Friend of XOOPS

  • Posts: 44

  • Since: 2003/1/4 1


In the default theme there is a line:

<{if $xoops_showcblock == 1}>

not sure what controls turning on $xoops_showcblock, but if it's set to zero no blocks will be shown. Perhaps an <{else}> clause to that will do what you want?

3
cleber
Re: Check modules at center block
  • 2006/6/5 1:26

  • cleber

  • Just popping in

  • Posts: 11

  • Since: 2002/7/17


Thanks by the help.
I tried the wfchannel module that also help me.

Login

Who's Online

321 user(s) are online (178 user(s) are browsing Support Forums)


Members: 0


Guests: 321


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