Gossamer Forum
Home : Products : Gossamer Links : Discussions :

User options outside of Install.pm?

Quote Reply
User options outside of Install.pm?
Hi...I've tried using Alex's suggestion in one of his threads, to install new options in the main plugin. I have;

Code:
Links::Plugins::set_plugin_user_cfg ('Cron_Manager', [ ['Email_SQL_Backup_Notification',
$notification, 'Email you after a SQL Database backup has been made? (1=yes, 0=no)...', 'TEXT',
[], [], '' ] ]);

The suggestion he gave was;

Code:
Links::Plugins::set_plugin_user_cfg ('Cron_Manager', $cfg );

I get an error though, saying;

A fatal error has occured:

Quote:
Can't coerce array into hash at /home/virtual/site6/fst/var/www/cgi-bin/admin/Links/Plugins.pm line 53.

Please enable debugging in setup for more details.

Anyone got any ideas? Probably another stupid question....but I'm still a bit tired after being at an all night party last night Wink

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!
Subject Author Views Date
Thread User options outside of Install.pm? Andy 2202 Dec 23, 2002, 2:53 AM
Thread Re: [Andy] User options outside of Install.pm?
pugdog 2043 Dec 30, 2002, 10:20 PM
Post Re: [pugdog] User options outside of Install.pm?
Andy 2060 Dec 31, 2002, 2:03 AM
Post Re: [Andy] User options outside of Install.pm?
Paul 2048 Dec 31, 2002, 2:28 AM