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

repeating region in result.php

Thread began 2/23/2010 12:12 am by ssemere321379 | Last modified 3/01/2010 5:39 pm by ssemere321379 | 1171 views | 5 replies

ssemere321379

repeating region in result.php

I am using DataAssist to generate the result.php. I want to make a repeating region of the two lists. I also want the second list to show only if the recordset is even. I tried the EVEN condition for the second LI tag using SHOW REGION IF RECORDSET IS EMPTY then changed the condition
if ($totalRows_rsProducts == % 2 == 0)
it seems to work only if I do not have a repeating region for the both LI items.
The following is the HTML of the result page. I want the two lists to be in one row. Notice the second list has a border to separate both lists.

<ul id="search-width" class="items">
<li>
<a><img src=""/></a><br/>
<span> product name</span><br/>
<strong> productPrice</strong><br/>
<span> SKU </span><br/>
<span>ProductStock?></span><br/>
</li>
<li style="border-left:3px solid #cccccc;">
<a><img src=""/></a><br/>
<span> product name</span><br/>
<strong> productPrice</strong><br/>
<span> SKU </span><br/>
<span>ProductStock?></span><br/>
</li>
</ul>

I tried to make a the two LI tags to be repeating region and SHOW 10 RECORDS AT A TIME.
But I get 20 records.
Making the first LI tag a repeating region results in empty second LI.
Could you please suggest on this?

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