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

Re: [webmaster33] Install a global from a plugin?

Quote Reply
Re: [webmaster33] Install a global from a plugin? In reply to
Ok, here is the top part of EditorMonitor.pm (without comments) down to just before my plug-in hooks commence.

use strict;
use GT::Base;
use Links::SiteHTML;
use GT::Plugins qw/STOP CONTINUE/;
use Links qw/$CFG $IN $DB $USER/;

@Plugins::EditorMonitor::ISA = qw(GT::Base);

my $Plug_Version = "0.4.1";



I have been reading the Links SQL Developers Guide, and I will it admit it makes more sense each time I look at it... but I find there seems to be many things not mentioned in there, which are critical to it making sense to me. I am getting there though. This is all starting to fall into place! (thanks to the help on this forum). I did not know a line of perl or plugins or globals two months ago.Smile I am going to read through the docs again.

When I tried <%Plugins::EditorMonitor::EditorLinks($ID)%> in the category template. The errors are produced (as in the post above).

EDIT: Webmaster, I think I have this WORKING!!!!!!! I don't know why but this was causing it/and seemed to fix it:

While testing, I have been leaving the old tag to my orginal inbuilt global along side my plug-in tag ie.

<%EditorLinks%> <%Plugins::EditorMonitor::EditorLinks($ID)%>

Either on their own work, and don't cause error, but put the two together and 25 post on the forum from Sooke later it gets solved!!!!

Thanks for all your help Webmaster, and Yogi, and everyone else who helpedCool


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jun 2, 2002, 8:54 AM
Subject Author Views Date
Thread Install a global from a plugin? Ian 7196 May 20, 2002, 9:54 PM
Thread Re: [Ian] Install a global from a plugin?
yogi 6923 May 20, 2002, 10:31 PM
Thread Re: [yogi] Install a global from a plugin?
Ian 6948 May 20, 2002, 10:36 PM
Thread Re: [Ian] Install a global from a plugin?
pugdog 6976 May 27, 2002, 3:28 AM
Thread Re: [pugdog] Install a global from a plugin?
webmaster33 6947 May 27, 2002, 4:13 AM
Post Re: [webmaster33] Install a global from a plugin?
pugdog 6942 May 28, 2002, 9:28 AM
Post Re: [pugdog] Install a global from a plugin?
Ian 6905 May 28, 2002, 5:33 PM
Thread Re: [yogi] Install a global from a plugin?
Ian 6854 May 31, 2002, 11:52 AM
Thread Re: [Ian] Install a global from a plugin?
yogi 6920 May 31, 2002, 1:17 PM
Thread Re: [yogi] Install a global from a plugin?
Ian 6880 May 31, 2002, 1:35 PM
Thread Re: [Ian] Install a global from a plugin?
webmaster33 6899 May 31, 2002, 11:46 PM
Thread Re: [webmaster33] Install a global from a plugin?
Ian 6930 Jun 1, 2002, 8:18 AM
Thread Re: [Ian] Install a global from a plugin?
webmaster33 6938 Jun 2, 2002, 3:54 AM
Thread Re: [webmaster33] Install a global from a plugin?
Ian 6847 Jun 2, 2002, 8:50 AM
Thread Re: [Ian] Install a global from a plugin?
webmaster33 7008 Jun 2, 2002, 9:13 AM
Post Re: [webmaster33] Install a global from a plugin?
Ian 6830 Jun 2, 2002, 9:21 AM