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

Dynamic Plugins

Thread began 5/21/2018 4:08 pm by vernon webb | Last modified 5/25/2018 6:44 pm by Ray Borduin | 529 views | 31 replies |

vernon webb

Dynamic Plugins

OK so I got most of what we went over however the most important part I missed. I created the plugin, got no error on the page, but how do I make it display only the records from that the selected recordset?

Sign in to reply to this post

Ray BorduinWebAssist

On the plugin page you just add a filter to the recordset to filter based on the parent form element from your main page. The form from the main page will be submitted to the plugin page, so you can use the form it is in to filter its value.

Sign in to reply to this post

vernon webb

I have no idea what I'm doing wrong

Sign in to reply to this post

Ray BorduinWebAssist

1) Your form was type "POST" and you were filtering with "GET"
2) You had a multi-select list, so you need to use an integer list type parameter and the IN comparison
3) You didn't wrap your plugin in a span or div with an ID attribute
4) You didn't apply the client behavior "Load Plugin to Div"

Once I fixed those things your page now works.

Sign in to reply to this post

vernon webb

I found the client behavior "Load Plugin to Div" but don' know how to apply it. What needs to be selected in order to apply it?

Sign in to reply to this post

Ray BorduinWebAssist

You have to select the parent select list that you want to update the child when changed.

Sign in to reply to this post

vernon webb

There is another one I created on this same page "Please select the media type" and I'm getting no results. I was sure I had it. :(

Sign in to reply to this post

Ray BorduinWebAssist

Two issues:

1) You had a multiselect list, so it's name has to end with [] like: name="type[]"
2) Your recordset filter had WHERE media.id IN (?), but you are passing the type, so it should be: media.type IN (?)

Sign in to reply to this post

vernon webb

I thought for sure I had this one this time. :(

Sign in to reply to this post

Ray BorduinWebAssist

You haven't populated your select list from the recordset on your plugin page.

Sign in to reply to this post
loading

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