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

Adding a new template for modify

Quote Reply
Adding a new template for modify
Hi,
I have a PRE hook on user_modify_link that executes its part fine and it stops further the main code execution. Instead of returning to modify.cgi for displaying either error or success templates, it calls Links::SiteHTML::display with a separate template and values. However, the problem occurs since main code expects some return value and this is the error I get:
------------
Can't use string ("1") as a HASH ref while "strict refs" in use at /usr/local/etc/httpd/cgi-bin/classifieds/modify.cgi line 51.

---------

OK -makes sense. So, my question is: do you know the way around this? How do I add a new template on the existing modify.cgi (other than error and success?)

Thanks,

Masamoda :)


Subject Author Views Date
Thread Adding a new template for modify masamoda 4201 Feb 19, 2001, 6:00 PM
Thread Re: Adding a new template for modify
Paul 4124 Feb 19, 2001, 6:28 PM
Thread Re: Adding a new template for modify
masamoda 4114 Feb 19, 2001, 6:40 PM
Post Re: Adding a new template for modify
Paul 4111 Feb 19, 2001, 6:44 PM
Thread Re: Adding a new template for modify
Alex 4113 Feb 19, 2001, 7:14 PM
Post Re: Adding a new template for modify
masamoda 4111 Feb 19, 2001, 7:24 PM