1
pod
'If Block Exists' Question
  • 2005/4/27 0:50

  • pod

  • Quite a regular

  • Posts: 301

  • Since: 2003/4/19


I know that for center blocks we can use
<{if $xoops_showcblock == 1}>

...but what about for left or right blocks, or center-left/center-right blocks? Is there a
<{if $xoops_showlblock == 1}>

function as well?

Can we apply 'If Exists' clauses to all the blocks, and if so what is the syntax? (showlblock == 1 doesnt work)

If not, any plans to make it so?

Thanks for any input on this...

2
Bassman
Re: 'If Block Exists' Question
  • 2005/4/27 1:04

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


I believe
Quote:

<{if $xoops_showcblock == 1}>

covers centerleft and centerright blocks also.

Most themes have
Quote:

<{if $xoops_showrblock == 1}>


so,
Quote:

<{if $xoops_showlblock == 1}>


Should work too. But I believe it may have to be defined first, as it is a variable.

Perhaps do a search on having the forum full width of the screen, I seem to remember the same question coming up for that.

Login

Who's Online

109 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 109


more...

Donat-O-Meter

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

Latest GitHub Commits