close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Inserting Dynamic Values in Email Settings of SecurityAssist Encrypted Password

Thread began 7/06/2012 8:31 am by Mysite07430650 | Last modified 7/09/2012 12:32 pm by Mysite07430650 | 2010 views | 10 replies |

Mysite07430650

Inserting Dynamic Values in Email Settings of SecurityAssist Encrypted Password

Hello,

I tried inserting dynamic value [UserFirstName] into the body of the email sent when forgotten password link is clicked on Login page, but it doesn't display the dynamic value added other than [*return_url*].

Is there any way to get the dynamic value for userFirstname displayed in the body of the email area?

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

is UserFirstName a column name in your user table?

In the Email Password behavior, you can add dynamic values to the message by clicking the plus button and select ing the column from the user table to include in the message.

if you continue to have a problem, send a copy of the forgot password page.

Sign in to reply to this post

Mysite07430650

Originally Said By: Jason Byrnes
  is UserFirstName a column name in your user table?

In the Email Password behavior, you can add dynamic values to the message by clicking the plus button and select ing the column from the user table to include in the message.

if you continue to have a problem, send a copy of the forgot password page.  



Hello Jason,

The UserFirstName is a column in my user table.

Please find attached my forgotpassword page.

Thank you.

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

Jason ByrnesWebAssist

change this line:

php:
"selectColumns" => array("UserEmail","UserPassword"),





to:

php:
"selectColumns" => array("UserEmail","UserPassword","UserFirstName"),
Sign in to reply to this post

Mysite07430650

Originally Said By: Jason Byrnes
  change this line:
php:
"selectColumns" => array("UserEmail","UserPassword"),




to:
php:
"selectColumns" => array("UserEmail","UserPassword","UserFirstName"),
  



Thanks Jason,

Adding the the UserFirstName to the selectColumns array works.

Can I style the body of the email as I would any other HTML file? I would like to replace the long url with <a href"http://www....">Reset Password</a>, but it is showing up as a syntax error.

Help!

Thanks again.

Sign in to reply to this post

Jason ByrnesWebAssist

for an email, you need top use inline styling.

<a href"http...


should be:
<a href="http...

Sign in to reply to this post

Mysite07430650

Originally Said By: Jason Byrnes
  for an email, you need top use inline styling.

<a href"http...


should be:
<a href="http...  



Sorry, I meant <a href="[*return_url*]">to reset your password update</a>.

When I've done this, I have been getting syntax error message and I do not understand why?

Any suggestions?

Sign in to reply to this post

Jason ByrnesWebAssist

imposible to tell without having the exact error message and a copy of the page to examine the code.

Sign in to reply to this post

Mysite07430650

Originally Said By: Jason Byrnes
  imposible to tell without having the exact error message and a copy of the page to examine the code.  



Please find attached the forgotpassword page and an image file illustrating the code in use.
The syntax error occurs at line 169 which starts with "mailBody" =>

Thanks.

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

Jason ByrnesWebAssist

but what is the exact error message? please include the text of the error.

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