close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

DataAssist created pages as plugins - passing the values

Thread began 12/12/2010 5:45 am by jshafor | Last modified 12/06/2013 8:18 am by jshafor | 8363 views | 13 replies

Jason ByrnesWebAssist

with a dynamic framework, you need to have a variable and value pair. usually a query string variable is used, but it could also be a session variable.


the name of the variable and value are defined by you. In the feature tour, they are using the URL variable named "form", but you can use anything you like.

form was chosen because they are using a form page, the form querystring value is determining which form will be used. if the contact page is access with out a querystring variable:
contactus.php

it will load the contact_form.php page as a plugin

if there is a form querystring variable and it is equal to question, this will trigger the question_form.php plugin page to be loaded instead:
contactus.php?form=question

you can use any variable name / value you like. in data assist, it may make sense to use "action" as the name

and set it up so that the default is the search page:
index.php - would load the search page

set the value results to load the data assist results page:
index.php?action=results

insert to load the DataAssist insert page:
index.php?action=insert

Update for the update page
index.php?action=update

delete for the delete page
index.php?action=delete

and detail for the detail page.
index.php?action=detail

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