close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Separate Table Rows with Repeating Reigon

Thread began 1/25/2014 7:49 pm by Eric | Last modified 1/27/2014 8:05 am by Eric | 446 views | 1 replies

Eric

Separate Table Rows with Repeating Reigon

I have a template, which allows for two records to be displayed per row, to be displayed properly.
Every two records, there needs to be a closed DIV and a new DIV "Row" created, for the next two items.
How would I be able to manipulate Data Assist's Repeat Region to accomplish this?

Below is one row, with one entry shown with the recordset data, and the second with bogus data. The idea would be to have these repeat, without displaying the same record twice, next to each other.

Thanks!


<div class="row">
<div class="col-md-6">
<div class="peoplewrapper">
<div class="thumb">
<?php if(!WA_Auth_RulePasses("Allow Private Photo")){ // Begin Show Region ?>
<img src="images/photos/nothumb.png" alt="" />
<?php } // End Show Region ?>
<?php if(WA_Auth_RulePasses("Allow Private Photo")){ // Begin Show Region ?>
<img src="images/photos/<?php echo $row_GetPrivateDirectory['photo']; ?>" alt="" />
<?php } // End Show Region ?>
</div>
<div class="peopleinfo">
<h4><a href=""><?php echo $row_GetPrivateDirectory['first_name']; ?>
<?php if(WA_Auth_RulePasses("Allow Private Name")){ // Begin Show Region ?>
<?php echo $row_GetPrivateDirectory['last_name']; ?>
<?php } // End Show Region ?>
</a> <span class="on"> Active</span></h4>
<ul>
<li>
<?php if(WA_Auth_RulePasses("Allow Private Affiliation")){ // Begin Show Region ?>
<span>Affiliation:</span> <?php echo $row_GetPrivateDirectory['affilation']; ?>
<?php } // End Show Region ?>
</li>
<li>
<?php if(WA_Auth_RulePasses("Allow Private EMail")){ // Begin Show Region ?>
<span>EMail:</span> <?php echo $row_GetPrivateDirectory['email_address']; ?>
<?php } // End Show Region ?>
</li>
<li>
<?php if(WA_Auth_RulePasses("Allow Private Website")){ // Begin Show Region ?>
<span>Website:</span> <?php echo $row_GetPrivateDirectory['website']; ?>
<?php } // End Show Region ?>
</li>
</ul>
</div><!--peopleinfo-->
</div><!--peoplewrapper-->
</div><!--col-md-6-->
<div class="col-md-6">
<div class="peoplewrapper">
<div class="thumb"><img src="images/photos/thumb1.png" alt="" /></div>
<div class="peopleinfo">
<h4><a href="">Weno Carasbong</a> <span class="on"> Online</span></h4>
<ul>
<li><span>Followers:</span> 10 &nbsp;/&nbsp; <span>Following:</span> 21</li>
<li><span>Member:</span> December 2012</li>
<li><span>Skype:</span> @weno</li>
<li><span>Phone:</span> +4413 1211 431</li>
<li><span>Address:</span> Something St., Some City, Place 4023</li>
</ul>
</div><!--peopleinfo-->
</div><!--peoplewrapper-->
</div><!--col-md-6-->
</div><!--row-->

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