close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Reset results after search; results nav buttons not working

Thread begun 12/05/2014 11:20 am by DeanCollins | Last modified 12/08/2014 9:47 am by Jason Byrnes | 2524 views | 7 replies |

DeanCollins

Reset results after search; results nav buttons not working

Data Bridge 1.2.1; Windows 8.1; Dreamweaver CC 2014

1. After a search, how do I get the full results set back? Refreshing the page doesn't do it. Seems that only by using the back button can I return.

2. There are 51 records in the results, but only the first 20 display. Clicking the next button results in a "no results found" message.

3. Oh, and one other thing: Do I have to manually insert a "back to results" link on the insert, update pages? Seems like this would be something that would somehow be included.

Sign in to reply to this post

Jason ByrnesWebAssist

1) See this page for details on resetting the search results:
http://www.webassist.com/forums/showpost.php?p=93270&postcount=2

2) I'll need to troubleshoot directly, see the private message section.

3) Yes, you would need to add links to go back to the results page.

Sign in to reply to this post

DeanCollins

Will do.

Sign in to reply to this post

Jason ByrnesWebAssist

I'm not seeing any results at all on that page?

Sign in to reply to this post

DeanCollins

Sorry! I made a change I shouldn't have. The results are back now.

Sign in to reply to this post

Jason ByrnesWebAssist

the following code block on the results page was out of place:

<?php
$queryString_WADAjob_descriptions = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_WADAjob_descriptions") == false &&
stristr($param, "totalRows_WADAjob_descriptions") == false) {
array_push($newParams, $param);
}
}
if (count($newParams) != 0) {
$queryString_WADAjob_descriptions = "&" . htmlentities(implode("&", $newParams));
}
}
$queryString_WADAjob_descriptions = sprintf("&totalRows_WADAjob_descriptions=%d%s", $totalRows_WADAjob_descriptions, $queryString_WADAjob_descriptions);
?>



i moved it to be before the doctype tag to fix the issue.

Sign in to reply to this post

DeanCollins

Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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