close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Create "status" area in header of all pages?

Thread began 8/03/2010 6:46 pm by elevy388997 | Last modified 8/04/2010 5:55 pm by Jason Byrnes | 1394 views | 5 replies |

elevy388997Beta Tester

Create "status" area in header of all pages?

Hello,

I want to have the usual login status area that many websites have. This is the area that says "Login / Register" along with having the username and password area above it. Then once you do that and you login it should change to the "Welcome <user>. (Logout) My Profile. History".

I used CSS Sculptor and Site Sculptor to create my custom design.

www.levy4u.com (top right underneath the white arrow)

Sign in to reply to this post

Jason ByrnesWebAssist

you would use the securoty assist show region server beahvior.

Create the content that should show if the user is not logged in, highlight it, then go to insert -> Web Assist -> Security Assist - > Show Region. Select the Not Logged in rule.


Then create the content that show if the user is logged in, this time select the logged in rule.

Sign in to reply to this post

elevy388997Beta Tester

I get that part, but where do I find the bindings, or code that tells the show if logged in part to display the username and link to the appropriate profile, order history page?

Sign in to reply to this post

Jason ByrnesWebAssist

to display the user name, you need to modify the authenticate user behavior to store the user name column in a session variable.

Double click the authenticate user server behavior on the third page of the wizard, you can select columns from the user table to store in session variables, select the user name column.

you can then find the binding in the session collection.


the profile and order details use the user ID session variable to determine the information to show, so you dont need any bindings, just add strait links to those pages.

Sign in to reply to this post

elevy388997Beta Tester

Can I do this after I already went through the wizard? Or should I delete everything and do it again?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, you just need to edit the authenticate user server behavior to store the user name in the session.

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