Gossamer Forum
Home : Products : Gossamer Links : Discussions :

list of all built in globals

Quote Reply
list of all built in globals
is there a document online or some sort of info function i can run in linkSQL to see a list of all the built in tags LSQL has to offer, and what pages are allowed to reference them? also, a description of what each tag does would be helpful..

i'm in the process of building a template from scratch and it's really confusing trying to figure out what functions i have available to me.

sorry, i just don't know where to check for this :D thanks in advance
-simon
http://www.fatscripts.com
Quote Reply
Re: [lastsaga] list of all built in globals In reply to
Here is a tag that you can use to see what tags can be used on any given page.

<%GT::Template::dump%>

Once you have placed, just view the site in the dynamic view (for static you will have to do build all), you will be able to see tons of info.. but be careful, not to put it in public view..

Hope this helps.

Need Scripts

Vishal
-------------------------------------------------------
Quote Reply
Re: [NeedScripts.Com] list of all built in globals In reply to
Could use this if in dynamic mode (and logged in as admin);

Code:
<%if Status eq 'Administrator'%>
<%GT::Template::dump%>
<%endif%>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] list of all built in globals In reply to
In Reply To:
Could use this if in dynamic mode (and logged in as admin);

Code:
<%if Status eq 'Administrator'%>
<%GT::Template::dump%>
<%endif%>

Cheers


That would be a better idea.... :)

Need Scripts

Vishal
-------------------------------------------------------
Quote Reply
Re: [lastsaga] list of all built in globals In reply to
Hi,

Don't confuse the template tags with globals.

Globals are available in any template in the current set that wants to use them.

"Tags" are passed in by the various scripts, and vary by part of the program you are in. CFG tags are available in all templates, if called, as are the User tags.

Some templates, because of how they are processed, can have special tags, or very limited tags -- like the error template gets only the 'error' tag by the error processing system. The links.html has a lot of back-end processing setting up various settings such as pop, new, days_old, etc.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.