Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:0

Constants, Variables, Templates, Oh my!

posted by Krow on 08:55 AM May 13th, 2002   Printer-friendly   Email story
I have an interesting question for everyone who is using Slash 2.2.X or the latest CVS version:

I've been trying to do some rather nifty template modifications that use some of the variables that slash creates. I have the book, and I've read and reread the faq, but I can't find a table of all the variables anywhere. The book has a useful table of all the "constants," (those variables that you have access to in the "vars" form) but even those "constants" are changed on some pages. Additionally, there are other variable construts such as env.* and form.* that differ from constants.* and are not documented.

I think it would be useful for us to compile a table that shows all the variables available to you to display for each template and/or page. If anyone has this sort of knowledge about the variables, even if you just know a couple of them, please share with the rest of us.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.