Where is the list of variables available to templates/conditionals? I've scanned through the manual/forums but can't find anything.
List Of Variables For Conditionals
Collapse
X
-
Aye? There must be a master list somewhere, how do the developers know what is or isn't available? How can a major feature be "conditionals" but no listing of what you can conditional against?
I'd rather not have to ask for each one, otherwise I'll be asking a squillion times for variables - I write my templates 100% from scratchComment
-
-
Im currently working on a howto for conditionals but its a rather extnesive document and its alot of work for anyone.Comment
-
-
-
I'm just trying to get the bigger ones for each of the page, but i havent had time to work on itComment
-
Originally posted by ZacheryI'm just trying to get the bigger ones for each of the page, but i havent had time to work on it
What would be optimal is a definition of what each variable contains, how it's formatted, and which include dependancies are required to populate the variables. Would this be asking too much? I would assume it's proprietary developer info.
You could have one block of code that parses, defines, and displays every variable in use on the system for a particular user!Comment
-
-
Here's how to get it:
Open up all the PHP files that make up vB.
Anything that starts with $ is a variable.
(Just playin with you, man. )
But it is quite an extensive list... If you want to do something specific, find what $variable it is in the PHP code, and try and use it. If it doesn't work, then come for help.Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment