11
jimmyx
Re: How to disable center left & center right blocks in custom page ?
  • 2010/5/7 14:34

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


anyone ?

12
ghia
Re: How to disable center left & center right blocks in custom page ?
  • 2010/5/7 15:29

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


If you have this
$xoopsTpl->assign('xoops_showlcblock'0); 
$xoopsTpl->assign('xoops_showrcblock'0); 

$xoopsTpl->assign('xoops_showclblock'0); 
$xoopsTpl->assign('xoops_showcrblock'0);
then you should find these variables in the list with Smarty debug.

If you have
<{if $xoops_showlcblock or $xoops_showrcblock}>
..
<{/if}>
in theme.html, the inside code (at the three dots) should not be showed/executed.

13
Danielw42
Re: How to disable center left & center right blocks in custom page ?
  • 2012/3/31 20:20

  • Danielw42

  • Just popping in

  • Posts: 15

  • Since: 2010/1/14


Hi,

I am using smartsection module. I would like to know how to disable top left and top right blocks on specific pages. For example, I want smartsection to display these blocks in index.php but not in item.php.

Login

Who's Online

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


Members: 0


Guests: 253


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