close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DataAssist Insert wipes out bindings

Thread began 3/07/2012 5:34 pm by Peterson Design Studio - jefferis | Last modified 3/09/2012 3:04 pm by Jason Byrnes | 887 views | 7 replies |

Peterson Design Studio - jefferis

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.

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

Peterson Design Studio - jefferis

Problem is with 1 row

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....

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

Peterson Design Studio - jefferis

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...

Sign in to reply to this post

Jason ByrnesWebAssist

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:

php:
<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

php:
<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

Sign in to reply to this post

Peterson Design Studio - jefferis

Thanks

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!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome, glad to hear you got it working.

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...