Project

General

Profile

Support #2838

Editing Email Content

Added by Anonymous over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/21/2014
Due date:
% Done:

0%

Estimated time:

Description

Hi,

Sorry for what is likely a silly question, but is there any documentation on how to modify the values for Wt.Auth.lostpasswordmail.htmlbody etc.

If not, can someone help me out.

Thanks,

#1

Updated by I. Lazaridis over 8 years ago

(you should create an account here, thus you get a "My page", which keeps all your issues and forum topics in one place.)

Search your source-tree for a file "auth_strings.xml" (should be in src/xml). Therein you'll find "Wt.Auth.lostpasswordmail.htmlbody" and others.

#2

Updated by Wim Dumon over 8 years ago

You can add your own content strings to a messageresourcebundle, so that you don't have to modify Wt's default message resource bundles:

wApp->messageResourceBundle().use("emailStrings");

and then in file emailStrings.xml, write your overrides for Wt's strings defined in auth_strings.xml.

See also:

http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WMessageResourceBundle.html

Also available in: Atom PDF