Gossamer Forum
Quote Reply
What Code
I am not sure where is it, but if someone can tell me what code do I need to place in the page to see what tags are accepted within that particual page.

Vishal
-------------------------------------------------------
Quote Reply
Re: [TRPN] What Code In reply to
Answering my own question - hope this will help others.

<%GT::Template::dump%>

Vishal
-------------------------------------------------------
Quote Reply
Re: [TRPN] What Code In reply to
Indeed. For the PHP frontend, you coudl use this;

Code:
<? foreach ($GLOBALS as $item => $var) { echo "&nbsp;$item => $var<BR>"; } ?>

<? echo "now array.."; ?>
<?

$i = 0;
foreach ($links_loop as $thing => $val) {

$i++;
echo "<BR>";
foreach ($links_loop[$thing] as $line => $val) { echo "&nbsp;&nbsp;&nbsp;&nbsp;$line => $val<BR>"; }

}

?>

I know your not using the PHP frotend...but I thought I would post this for future searches by peope ;)

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: [TRPN] What Code In reply to
Actually, if you use:

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

(I think I got the case right!) Then, it will only display if you are logged in as 'Administrator', and will not show if you are a regular user.

This is great especially on live sites, or if you forget to strip it out <G>


PUGDOG� Enterprises, Inc.

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