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

tie dynamic list/menu to data assist search page

Thread began 8/17/2012 9:10 am by sfj6167 | Last modified 8/21/2012 11:48 am by Jason Byrnes | 781 views | 7 replies |

sfj6167

tie dynamic list/menu to data assist search page

Hi there
Have generated administration pages from data assist.

On the insert page a group value is set to every user - users,superusers,administrator

on the search page I have a rs that list the group values from the group table.
users,superusers,administrator in the search form.

when I try to search for group id (lets say administrator ) and click search
it just returns all users...

What am I missing ?

regards
bison

Sign in to reply to this post

Jason ByrnesWebAssist

Did you add this after running the wizard to create the search and results page?

you will need to edit the Data Assist Search behavior on the results page to add a new criteria for filtering the group id column using the select list.

Sign in to reply to this post

sfj6167

Hi Jason

Yes after using Dataassist to create the standar administrative user pages, I added
the UserGroup to the insert page, and that works fine

on the update page I also put in the UserGroup field to retrieve this information from the users table. That also works fine..

Then on the Search page I created a rs for bringing in the men/list for UserGroups and on the results page I added the field for filtering...

that should be right ???


but it dont works, it just returns all posts

regards
bison



This is the field I have set in on the users_search.php

---
<li class="formItem">
<div class="formGroup">
<div class="lineGroup">
<div class="fullColumnGroup">
<label for="UserGroupID" class="sublabel" >Bruger Type:</label>
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup">
<span>
<select class="formMenufield_Medium" name="UserGroupID" id="UserGroupID" tabindex="13">
<option value="value">Vælg gruppe</option>
<?php
do {
?>
<option value="<?php echo $row_WADAMenuUserGroupID['UserGroupID']?>"><?php echo $row_WADAMenuUserGroupID['UserGroup']?></option>
<?php
} while ($row_WADAMenuUserGroupID = mysql_fetch_assoc($WADAMenuUserGroupID));
$rows = mysql_num_rows($WADAMenuUserGroupID);
if($rows > 0) {
mysql_data_seek($WADAMenuUserGroupID, 0);
$row_WADAMenuUserGroupID = mysql_fetch_assoc($WADAMenuUserGroupID);
}
?>
</select>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</li>
---

In DataAssist Search (WADAUsers) on the users_results.php page I`ve
added a filtered field:

Type EDIT
Separator AND
Column UserGroupID
CT = N
Value USerGroupID

Type of field is set as List

Sign in to reply to this post

Jason ByrnesWebAssist

send a link where i could see the problem please and a copy of the search and results page.

Sign in to reply to this post

sfj6167

Sounds great Jason

site is www.kameraservice.dk

last menu to the right contains:
users
search user
insert user

regards
bison

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

Jason ByrnesWebAssist

on the results page, change:

php:
if ($_SERVER["REQUEST_METHOD"] == "POST") {



to:

php:
if ((isset($_GET["Search"]) || isset($_GET["Search_x"])))  {
Sign in to reply to this post

sfj6167

Hi Jason. Changed the code as you said on line 33

filtering on groupid now works, BUT

none of the other fields do.

if you filter on other fields than groupid you get "no results"

and when you then hit "users" from the menu it wont show the results on the

results page, its getting stuck on just showin "no results"

Please advise

regards
Bison

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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