Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Suggestion: Adding Link - error_loop tag

Quote Reply
Suggestion: Adding Link - error_loop tag
I have different areas in my LSQL setup, with different kinds of links, and they have different fields which are required. Obviously, I cannot set the fields as not null, since sometimes they are allowed to be empty.

Anyway, I can make a hook on "user_add_link" to check the validity of certain fields, that's all fine. The problem is that I cannot add anything to the "error" tag (well, I could, but it would be awkward). It would be very handy to have a error_loop tag available, then I could just push my own errors into the error_loop tag.

By the way, there is a "bug" in sub add_link in Links/User/Add.pm. There are two <ul></ul> tags around possible errors, one would be enough I think....

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Subject Author Views Date
Thread Suggestion: Adding Link - error_loop tag yogi 1481 May 30, 2002, 3:29 AM
Thread Re: [yogi] Suggestion: Adding Link - error_loop tag
Paul 1418 May 30, 2002, 7:00 AM
Thread Re: [Paul] Suggestion: Adding Link - error_loop tag
yogi 1418 May 30, 2002, 7:06 AM
Post Re: [yogi] Suggestion: Adding Link - error_loop tag
webmaster33 1401 Jun 2, 2002, 4:12 AM