Project

General

Profile

Actions

Support #2838

open

Editing Email Content

Added by Anonymous about 10 years ago. Updated about 10 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,

Actions #1

Updated by I. Lazaridis about 10 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.

Actions #2

Updated by Wim Dumon about 10 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

Actions

Also available in: Atom PDF