1
grantp
Re: xoops variables
  • 2006/1/20 21:29

  • grantp

  • Just popping in

  • Posts: 1

  • Since: 2006/1/20


..and in the administration page, under System Admin, Preferences, General Settings: Set the "Debug Mode" to "Smarty Templates Debug" and you'll get a pop-up when you browse a module.
If you are using Fire-Fox, this will trigger it's pop-up blocker, just allow pop-ups for the site.
You'll see a list of all the smarty vars available for the page you are browsing.

I do agree that more of the raw vars should be available. I sometimes add vars to modules but this makes extra work at upgrade time as I have to re-do the hacks.

Does anyone know if there is a guide for module writers from the smarty vars point-of-view? Something like:

If the module has categories:
Include vars for the id and name in the form $modulename_catid and $modulename_catname.

If the module has items:
...




TopTop



Login

Who's Online

166 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

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

Latest GitHub Commits