DataAssist Insert wipes out bindings
2cUIhg62Ly1
Hi, I just wanted to show you this odd behavior. When I try to add repeating tables to any bindings, DA wipes them out.
2cUIhg62Ly1
Hi, I just wanted to show you this odd behavior. When I try to add repeating tables to any bindings, DA wipes them out.
dont select the image before adding the repeating table, that is telling dreamweaver to replace the image with the repeating table, that's why it is being removed.
also i think the repeat region on the page is also causing a conflict.
try deleting the image and the repeat region. then adding the repeating table to the p[age, once the repeating table has been added, add the image inside the cell that it adds to the page.
Jason, X7ifXb77GaIQ
The PRoblem is that if you choose 1 row, the code does not get put in place. See video. The code is erased or incompletely installed.
Now, how do I create a repeating table that shows only ONE row at a time?
I want to paginate on the rows showing only one row at a time....
the repeating table behavior is not intended for 1 row, you can do one row with a standard Dreamweaver repeat region.
when applying the repeat region, select the data cell, the td tag,in the tag selector, instead of selecting the row, the tr tag.
Maybe I'm misunderstanding you. If I apply the behavior as you suggested, I get a single column of x number of items, not a horiztonal row of items.
I'm trying to create a single row of 8 images at a time , that when paginated, will go to the next 8 images. Maybe DA can't do that. I don't think normal DW features will do it either...
a normal dreamweaver repeat region will be able to do this if you apply it to the td tag rather than the tr tag
add a table to the page with 1 row and 1 cell
so it looks like this:
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Table Data</td>
</tr>
</table>
In the tag selector, select the <td> tag, this is the cell.
go to server behaviors, click the plus button and select Repeat Region, set to repeat 8 times, the result will be a repeat region around the <td> tag:
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<?php do { ?>
<td>Table Data</td>
<?php } while ($row_recordsetName = mysql_fetch_assoc($recordsetName)); ?>
</tr>
</table>
this will create 8 columns in the 1row giving a horizontal loop, because it targets the cell.
if the repeat where around the <tr> tag
<table width="500" border="0" cellspacing="0" cellpadding="0">
<?php do { ?>
<tr>
<td>Table Data</td>
</tr>
<?php } while ($row_recordsetName = mysql_fetch_assoc($recordsetName)); ?>
</table>
it would create 8 rows with one column instead
I thought I had selected the td but I must not have... I redid it with td selected and you are completely right. Sorry. It does create a pagination of 8 columns. My idea was to create an iframe for the larger images when clicked, which I did for another site, but I have another idea that uses CSS Image Navigation from DMXzone that connects to a database. It seems to contain it all in one page....
But This problem has bugged me for a week on how to get it to work in mysql. I have learned php/mysql as self taught, so there are gaps in my knowledge. Some as to very basic funtionality!
you're welcome, glad to hear you got it working.
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.