I am using Links SQL as online directory of local businesses. Some of these businesses are small and/or part time and do not have a website.
I wanted to make the entry's detailed page their default page to accomodate this and avoid the 404 errors on the random page routine. BTW, this is all new to me, so please type slowly :-)
The following is the relavent code from the form.txt.
<tr><td align="right" valign="top">URL:</td>
<td>
<input name="URL" value="<%if URL%><%URL%><%endif%>" size="50">
</td></tr>
My thought was to change the input line to:
<input name="URL" value="<%build_detail_url%>/<%ID%>.html" size="50">
From what I understand, this same form is also used for both the modify and add routines.
Would it be better to save this as the add_form.txt and change the related tag and leave form.txt for modify, or is there a way to use the <%if Description%> tag and have one form.txt?
--
Rob Van Deren
I wanted to make the entry's detailed page their default page to accomodate this and avoid the 404 errors on the random page routine. BTW, this is all new to me, so please type slowly :-)
The following is the relavent code from the form.txt.
<tr><td align="right" valign="top">URL:</td>
<td>
<input name="URL" value="<%if URL%><%URL%><%endif%>" size="50">
</td></tr>
My thought was to change the input line to:
<input name="URL" value="<%build_detail_url%>/<%ID%>.html" size="50">
From what I understand, this same form is also used for both the modify and add routines.
Would it be better to save this as the add_form.txt and change the related tag and leave form.txt for modify, or is there a way to use the <%if Description%> tag and have one form.txt?
--
Rob Van Deren