1
circlecast
Turning off Smarty Templates
  • 2005/12/20 21:39

  • circlecast

  • Just popping in

  • Posts: 14

  • Since: 2005/12/19


Is there a way to turn off tyhe smarty templates so that if a block is emnpty it will still show the block?

I have things coming up saying that they are empty in the debug when I know that they are not. Weather, Navigate thru topics, and Recent news are all just shrunk and nothing is showing up.

Is there a mod or setting that I am missing that will allow the toggling of smarty templates

2
circlecast
Re: Turning off Smarty Templates
  • 2005/12/22 0:34

  • circlecast

  • Just popping in

  • Posts: 14

  • Since: 2005/12/19


Did I stump everyone on this?

3
circlecast
Re: Turning off Smarty Templates
  • 2005/12/27 18:22

  • circlecast

  • Just popping in

  • Posts: 14

  • Since: 2005/12/19


So There is no way to turn this feature off?
Or am I asking the wrong question. I do not want to different blocks to close up if there is no information in them. if there a way to do this?

4
Dave_L
Re: Turning off Smarty Templates
  • 2005/12/27 18:50

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


This isn't a Smarty issue.

You'd have to hack the code that handles displaying of blocks. Currently it doesn't display the block at all if the block has no content. I don't remember offhand which file you'd change.

Custom blocks work differently; they get displayed even if they're empty.

But I don't understand why displaying the empty blocks would help you.

Login

Who's Online

187 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 187


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