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

Re: Adding a new template for modify

Quote Reply
Re: Adding a new template for modify In reply to
The code is:
--------
sub some_sub {

$results = shift;
#some code...
GT::Plugins->action ( STOP );
Links::SiteHTML::display('my_template', $results);
return;
}
--------
If I return $results - it displays both my_template.html and modify_success.html. If I don't return anything - it gives me the error - which is understood, since modify.cgi ( _modify() in particular) expects hash in return. Now, obviously I will have to make a separate hook on 'site_html_modify_success' and try to handle it there...
I hope this was descriptive. If not, let me know, and I will try to give more details.

Thanks,

Masamoda :)

Subject Author Views Date
Thread Adding a new template for modify masamoda 4255 Feb 19, 2001, 6:00 PM
Thread Re: Adding a new template for modify
Paul 4177 Feb 19, 2001, 6:28 PM
Thread Re: Adding a new template for modify
masamoda 4168 Feb 19, 2001, 6:40 PM
Post Re: Adding a new template for modify
Paul 4164 Feb 19, 2001, 6:44 PM
Thread Re: Adding a new template for modify
Alex 4167 Feb 19, 2001, 7:14 PM
Post Re: Adding a new template for modify
masamoda 4164 Feb 19, 2001, 7:24 PM