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

empty product

Thread began 3/03/2011 6:35 am by turk361661 | Last modified 3/04/2011 11:31 am by Jason Byrnes | 990 views | 5 replies |

turk361661

empty product

Hello,

I"m using Data Assist to create a search and results page for my Product Database.

When I search by product Name, the correct product name and corresponding image display on the page for each product search result.
I have it set up to display 10 records at a time.

BUT
If record number 3 is empty, it displays an empty space on the page. Or if several records are not there, it also displays empty space. It make the page look bad.
(For example, looking at the ProductIDs in my database the count goes 1,2,3,7,9,10 Displaying these first set of records on the page results in two blank spaces.)

I will be adding and deleting products from my database from time to time.
When one of these products are deleted/removed from the database, why does it show as blank?

Sign in to reply to this post

Jason ByrnesWebAssist

if the record is deleted from the database completely, it should not be causing the blank rows.

This would only happen if there are blank records in the database.

The rows displayed on the results page are driven by the records in the database, Double check in the database that there are no rows with blank data.

Sign in to reply to this post

turk361661

I checked the database.
The rows are removed completely.

see screen shot attached.

thanks
Danielle

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of your results page and a link where i can see the problem.

Sign in to reply to this post

turk361661

Jason,
On the SEARCH page, I slected Category: Perennials A-Z and I click SEARCH button.
Search page link: plants_Search.php


The results page link:
plants_Results.php?S_ProductName=&S_ProductCartDesc=&S_ProductCategoryID=1&Search.x=24&Search.y=19&Search=Search

If you scroll to the bottom of the page you'll see the empty white spaces/boxes.


Attached is my results page php file.

Thanks,
Danielle

Attached Files
emptyspaces.zip
Sign in to reply to this post

Jason ByrnesWebAssist

it's not that there are empty records, it is your layout causing the last row to not position correctly.


in the style.css file, change:
#outerWrapper #contentWrapper #content #SearchList dl{
clear: both;
float: left;
width: 230px;
margin: 10px 10px;
padding: 0;
display: inline; /* fixes IE/Win double margin bug */
}


to:
#outerWrapper #contentWrapper #content #SearchList dl{
/*clear: both;*/
/*float: left;*/
width: 230px;
margin: 10px 10px;
padding: 0;
/* display: inline; fixes IE/Win double margin bug */
}

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