Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Ordered List and Errors

Quote Reply
Ordered List and Errors
Hmm.. this forum search engine is very frustrating. Searching for <%error%> <ul> bring me over 2 thousand results!

Anyhow I am trying to find how to have error messages without the ordered lists <ul><li>error...

Perhaps these html codes are hard coded?

--------------------------------
Privacy Software
Quote Reply
Re: [BLOOD] Ordered List and Errors In reply to
Yeah, I think they are hard-coded. What particular area are you trying to edit the error messages? Adding, modifying, searching?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Ordered List and Errors In reply to
Cheers Andy,

I'm fiddling with the add form, but its only for layout purposes so no big deal. Somewhat less flexible though with this being a non changer Frown

--------------------------------
Privacy Software
Quote Reply
Re: [BLOOD] Ordered List and Errors In reply to
Try looking in /admin/Links/User/Add.pm:

edit;

Code:
# Add the record.
my $id = $db->add ( $input );
$input->{ID} = $id;
if (! $id) {
my $error = "<ul><li>" . join ("<li>", $db->error) . "</ul>";
return { error => "<ul>$error</ul>", Category => $category };
}

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!