close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Template not using editable region

Thread began 4/20/2010 1:25 pm by nickj | Last modified 5/19/2011 2:26 pm by Jim E D | 733 views | 2 replies |

nickj

Template not using editable region

The attached file was mae using the main editable region, why is the form built below it?

Thanks

Nick

Attached Files
gallery_Delete.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the form is contained inside the main editabel region:

<div id="content"><!-- InstanceBeginEditable name="main" -->
<table width="90%">
<tr>
<td><p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</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>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</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.

Sign in to reply to this post

Jim E D

Thanks - Answered My Question Here...

Thanks for the reply - saved me time....

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...