Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Bypassing Links::SiteHTML::display

Quote Reply
Bypassing Links::SiteHTML::display
I'm hacking around with a plugin.

This line:

print Links::SiteHTML::display ('link_deleted');
return;

I would like to direct to a cgi script instead of loading this template as I donít need to use the SiteHTML parser.

How do I do replace that line with this?

/cgi/saved.cgi?msg=link deleted

Thanks.

--------------------------------
Privacy Software
Quote Reply
Re: [BLOOD] Bypassing Links::SiteHTML::display In reply to
Erm, you don't =)

You have to use GT::Template, or Links::SiteHTML.

However, if you just want to print out a message, you could put something like this in saved.cgi;

Code:
if ($IN->param('msg')) {

print $IN->header();
print $IN->param('msg');
exit;

}

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!