On this:
This just creates the field for the phone number to be stored. You have to add a phone number input to the add.html template: <input type=text name="the name of your field" value=default value> etc.
I'm just really, really lost. I don't know where this is supposed to go. I know where to find the template, but I don't know where that code is supposed to go in there.
Here's the code from the add.html template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/...ml1-transitional.dtd">
<html>
<head>
<title><%site_title%>: Add a Link</title>
<%include include_common_head.html%>
</head>
<body id="add">
<%include include_accessibility.html%>
<div id="wrapper">
<%include include_header.html%>
<%include include_contentheader.html%>
<div id="ocwrapper" class="clear">
<div id="icwrapper" class="clear">
<%include include_leftsidebar.html%>
<div id="contentwrapper" class="shadowleft">
<%include include_contentwrapper_top.html%>
<div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
<div class="shadowright">
<div id="content">
<%include include_content_top.html%>
<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
<h2>Add a Link</h2>
<p>
Please completely fill out the form, and we'll add your link as soon as possible.
</p>
<form action="<%config.db_cgi_url%>/add.cgi" enctype="multipart/form-data" method="post">
<%include include_form.html%>
<div class="formsubmit">
<input type="submit" name="add" value="Add Link" class="submit" />
</div>
</form>
<%include include_content_bottom.html%>
</div>
</div>
<div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
<%include include_contentwrapper_bottom.html%>
</div>
<%include include_rightsidebar.html%>
</div>
</div>
<%include include_contentfooter.html%>
<%include include_footer.html%>
</div>
</body>
</html>
This just creates the field for the phone number to be stored. You have to add a phone number input to the add.html template: <input type=text name="the name of your field" value=default value> etc.
I'm just really, really lost. I don't know where this is supposed to go. I know where to find the template, but I don't know where that code is supposed to go in there.
Here's the code from the add.html template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/...ml1-transitional.dtd">
<html>
<head>
<title><%site_title%>: Add a Link</title>
<%include include_common_head.html%>
</head>
<body id="add">
<%include include_accessibility.html%>
<div id="wrapper">
<%include include_header.html%>
<%include include_contentheader.html%>
<div id="ocwrapper" class="clear">
<div id="icwrapper" class="clear">
<%include include_leftsidebar.html%>
<div id="contentwrapper" class="shadowleft">
<%include include_contentwrapper_top.html%>
<div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
<div class="shadowright">
<div id="content">
<%include include_content_top.html%>
<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
<h2>Add a Link</h2>
<p>
Please completely fill out the form, and we'll add your link as soon as possible.
</p>
<form action="<%config.db_cgi_url%>/add.cgi" enctype="multipart/form-data" method="post">
<%include include_form.html%>
<div class="formsubmit">
<input type="submit" name="add" value="Add Link" class="submit" />
</div>
</form>
<%include include_content_bottom.html%>
</div>
</div>
<div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
<%include include_contentwrapper_bottom.html%>
</div>
<%include include_rightsidebar.html%>
</div>
</div>
<%include include_contentfooter.html%>
<%include include_footer.html%>
</div>
</body>
</html>