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

Series of plugin help questions

Quote Reply
Series of plugin help questions
1) During validation the validation form seems to be printed via Tools.pm, is there a way to make it use the template and call a hook? I have written a plugin, it has a foreign key called VersionID to table called Version, rather than display the VersionID in the validate form I would like to display a drop down of all the versions with the current value selected.

2) I have a hook registered to interrupt jump.cgi and display a page of my own. The problem I have is that it doesn't display the page I want it to. I use the same code elsewhere, the only difference is that one part is called from within the admin dir and the second that doesn't work is called from outside. It 'use's the same files, and seems to have no problems finding them. I can display all the keys and values of the hash ref that I use with a print to the screen but the rest doesn't display.

Here is the basic code:

if($IN->param('ID')) {
# doing stuff in here to the hash ref
# all works fine
}

print $IN->header;
print Links::SiteHTML::display ('detailed', { %$link });

GT::Plugins->action(STOP);

Any help appreciated.

Thanks,

Tommy
Subject Author Views Date
Thread Series of plugin help questions tommyfotak 7785 Jul 16, 2002, 11:41 AM
Thread Re: [tommyfotak] Series of plugin help questions
afinlr 7634 Jul 16, 2002, 12:06 PM
Thread Re: [afinlr] Series of plugin help questions
Paul 7624 Jul 16, 2002, 12:10 PM
Post Re: [Paul] Series of plugin help questions
tommyfotak 7598 Jul 16, 2002, 1:07 PM
Thread Re: [afinlr] Series of plugin help questions
tommyfotak 7636 Jul 16, 2002, 12:34 PM
Post Re: [tommyfotak] Series of plugin help questions
afinlr 7615 Jul 16, 2002, 12:51 PM
Thread Re: [tommyfotak] Series of plugin help questions
yogi 7593 Jul 16, 2002, 1:45 PM
Thread Re: [yogi] Series of plugin help questions
Paul 7584 Jul 16, 2002, 1:54 PM
Thread Re: [Paul] Series of plugin help questions
afinlr 7597 Jul 16, 2002, 2:20 PM
Thread Re: [afinlr] Series of plugin help questions
Paul 7596 Jul 16, 2002, 2:21 PM
Thread Re: [Paul] Series of plugin help questions
afinlr 7602 Jul 16, 2002, 2:24 PM
Thread Re: [afinlr] Series of plugin help questions
Paul 7574 Jul 16, 2002, 2:30 PM
Thread Re: [Paul] Series of plugin help questions
tommyfotak 7575 Jul 16, 2002, 3:10 PM
Thread slowly going insane
tommyfotak 7563 Jul 17, 2002, 12:14 PM
Thread Re: [tommyfotak] slowly going insane
yogi 7618 Jul 17, 2002, 1:54 PM
Post Re: [yogi] slowly going insane
tommyfotak 7529 Jul 18, 2002, 2:57 AM