Template not using editable region
The attached file was mae using the main editable region, why is the form built below it?
Thanks
Nick
The attached file was mae using the main editable region, why is the form built below it?
Thanks
Nick
the form is contained inside the main editabel region:
<div id="content"><!-- InstanceBeginEditable name="main" -->
<table width="90%">
<tr>
<td><p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
</tr>
</table>
<div class="WADADeleteContainer">
<?php if ($totalRows_WADAgallery > 0) { // Show if recordset not empty ?>
<form action="gallery_Delete.php?key_img=<?php echo(rawurlencode($row_WADAgallery['key_img'])); ?>" method="post" name="WADADeleteForm" id="WADADeleteForm">
<div class="WADAHeader">Delete Record</div>
<div class="WADAHorizLine"><img src="../../WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<p class="WADAMessage">Are you sure you want to delete the following record?</p>
<table class="WADADataTable" cellpadding="0" cellspacing="0" border="0">
<tr>
<th class="WADADataTableHeader">ID</th>
<td class="WADADataTableCell"><?php echo($row_WADAgallery['key_img']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader">Album</th>
<td class="WADADataTableCell"><?php echo($row_WADAgallery['album_img']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader">File Name</th>
<td class="WADADataTableCell"><?php echo($row_WADAgallery['filename_img']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader">Caption</th>
<td class="WADADataTableCell"><?php echo($row_WADAgallery['caption_img']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader">date_img:</th>
<td class="WADADataTableCell"><?php echo($row_WADAgallery['date_img']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader">edate_img:</th>
<td class="WADADataTableCell"><?php echo($row_WADAgallery['edate_img']); ?></td>
</tr>
</table>
<div class="WADAHorizLine"><img src="../../WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<div class="WADAButtonRow">
<table class="WADADataNavButtons" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="WADADataNavButtonCell" nowrap="nowrap"><input type="image" name="Delete" id="Delete" value="Delete" alt="Delete" src="../../WA_DataAssist/images/Pacifica/Refined_delete.gif" /></td>
<td class="WADADataNavButtonCell" nowrap="nowrap"><a href="gallery_Results.php" title="Cancel"><img border="0" name="Cancel" id="Cancel" alt="Cancel" src="../../WA_DataAssist/images/Pacifica/Refined_cancel.gif" /></a></td>
</tr>
</table>
<input name="WADADeleteRecordID" type="hidden" id="WADADeleteRecordID" value="<?php echo(rawurlencode($row_WADAgallery['key_img'])); ?>" />
</div>
</form>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADAgallery == 0) { // Show if recordset empty ?>
<div class="WADANoResults">
<div class="WADANoResultsMessage">No record found.</div>
</div>
<?php } // Show if recordset empty ?>
</div>
<!-- InstanceEndEditable -->
it looks like you had a table already inside the main editable region:
<table width="90%">
<tr>
<td><p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
</tr>
</table>
data assist will not replace what is inside the editable region, it will only add to the editable region. It added the Data Assist form after the table that was already there.
Thanks for the reply - saved me time....
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.