close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

User Admin Pages - Need to Add a Button

Thread began 3/22/2013 10:43 am by greg401801 | Last modified 3/26/2013 11:49 am by greg401801 | 1946 views | 6 replies

Jason ByrnesWebAssist

Some of the concepts for the Double Opt in tutorial will apply, but not exactly.

the link to the users details page will pas the user ID as a query sting, for example:

users-details.php?ID=33

pass that same query string to the update userlevel page:

<href ="update-users-level.php?ID=<?php echo(isset($_GET['ID'])?$_GET['ID']:""); ?>">Update User Level</a>

on this page, you can create a recordset that queries the users table and filters the ID based on the ID URL variable, it will be the same type of recordset shown on the details page.

using this recordset, you show the existing user level.

add a form with a select list of user levels and a hidden element. the hidden element will use the ID column from the recordset as the value, add another hidden element to use the email column as the value.

you can then add an update record behavior. set the key column to the ID column, set the key value to the ID hidden element.

on the bindings panel, bind the user level to the select list.

then add the universal email behavior. Bind the To Address to the email hidden element.

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