Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8016 Posts in 1849 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationHacks and Mods (Moderators: scott, DanO, Marty)Plugin Catch22 (can't handle before_getInput.pl plugin)
Pages: [1]   Go Down
Print
Author Topic: Plugin Catch22 (can't handle before_getInput.pl plugin)  (Read 206 times)
0 Members and 1 Guest are viewing this topic.
rhughson
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: March 31, 2003, 10:51:00 AM »

Hello all.
I'm working on a modificaiton to the getInput routine and I'd like to make it a plug-in. I think I've found an issue with the structure of the calendar_admin.pl code and I'd like to get some other eyes to look at it to see if I'm just being stupid.


It seems to me that because the "getInput();" call on line 304 of calendar_admin.pl (rev 3.2) happens before we execute the "$PluginFiles = &getPluginFileList();" on line 402, we the program will never know there is a "before_getInput" routine to run.

If I move the follwoing two lines immediately before the
call to getInput, things seem to work correctly.

$plugins_dir     = $BASE_DIR . "plugins/";
$PluginFiles = &getPluginFileList();

This may be a bug, so I'll inlcude all the infromation that has been asked for regarding bugs here:

1) Sever   : Coucho's Resin and Apache
2) Browser : MS IE 6
3) No error message.
4) N/A
5) No manual change to $BASE_DIR
6) N/A. My desk top is running the server.
7) No, I've not tried running debug.pl
Cool Yes I've read the much of the documentation.

Logged
Pages: [1]   Go Up
Print
Jump to: