Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Unknown Field?

Quote Reply
Unknown Field?
search.kids-online.com/add.cgi

I am trying to get this to work... But it doesn't want to Frown
I have put in <%URL%> in add_success.html and "%URL%" (I think that is what it is... it is correct) though it does not work.

What should I do?
Thanks,
Mike

PS - I mean unknown tag... not field

[This message has been edited by kol (edited May 19, 1999).]
Quote Reply
Re: Unknown Field? In reply to
Still nothing.
Here's the HTML:

<div align="center"><font color="#FFFFFF">Your Web Site is set to be reviewed by KOL Hosts</font></div> </td> </tr> <tr> <td> <table border="0" width="330" cellspacing="0" cellpadding="0"> <tr> <td width="75"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="dog.gif" width="126" height="122"></font></td> <td width="10"> </td> <td width="245"><img src="kidsearch-welcome.gif" width="200" height="40"></td> </tr> </table> <tr> <td> <table border="0" width="330" cellspacing="0" cellpadding="0"> <tr> <td width="11"> </td> <td width="250"> <h5 align="center">Your web site has been submitted to
be reviewed by Kids Online Staff before being added
to Kids Online's Kid Search. Kids Online has the right
to change any entry and delete entries if required.</h5>
<h5 align="center">Once we review your link you will get
an email regarding if we have deleted your link to Kid
Search or added it to Kid Search.</h5>
<h5 align="center">Review of Information Submitted:<br>
Title: <%Title%><br> Address of the web site: <%URL%><br>
Descriptiton: <%Description%><br>
Contact Name: <%Contact Name%><br>
Contact Email Address: <%Contact Email%><br>
Category: <%Category%></h5>
Quote Reply
Re: Unknown Field? In reply to
The correct version is <%URL%>.

Check sub site_html_add_success in site_html_templates.pl and make sure it says:

Code:
sub site_html_add_success {
# --------------------------------------------------------
# This routine determines how the add success page will look like.

&html_print_headers;

print &load_template ('add_success.html', {
%in,
%globals
});
}

The %in variable should contain the URL of the link added and is available in the template as <%URL%>.

If it is not displaying, please post the part of add_success.html where you are using it.

[This message has been edited by Bobsie (edited May 20, 1999).]
Quote Reply
Re: Unknown Field? In reply to
I don't see anything wrong there. Check your add form in add.html and make sure the input tag looks something like this:

Quote:
<tr><td align="right" valign="top">URL:</td>
<td><input name="URL" size="50"></td></tr>

Make sure it is all capital letters. If that is correct, then there is no reason that I can find why the <%URL%> is coming up as an unknown tag.

[This message has been edited by Bobsie (edited May 20, 1999).]
Quote Reply
Re: Unknown Field? In reply to
Bingo! it works!