Here is the example:

You have Invitation mail template.
It has markup [1] and source code [2] (the name is same)

In markup you can see: "comment_for_link2", in code: new
Label("comment_for_link2", getString("505", locale))
So string 505 state for comment_for_link2.

To simplify the process you can change html file itself or create
localisations like follows:

en/default: InvitationTemplate.html
it:               InvitationTemplate_it.html
de:             InvitationTemplate_de.html
etc.

Hope things are a bit clearer :)

[1] 
https://github.com/apache/openmeetings/blob/3.3.x/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.html
[2] 
https://github.com/apache/openmeetings/blob/3.3.x/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.java

On Fri, Jul 14, 2017 at 8:06 PM,  <[email protected]> wrote:
> On 14.07.2017 06:43, Maxim Solodovnik wrote:
>>
>> Hello you can change HTML of email templates as described here:
>> http://openmeetings.apache.org/EditTemplates.html
>> The only limitation: you need to create more generic template, I'm
>> afraid it would be impossible to create 3 URL as in your example
>>
>> On Thu, Jul 13, 2017 at 11:54 PM,  <[email protected]> wrote:
>>>
>>> Hello,
>>>
>>> I have another request,
>>>
>>> After setting a conference request, a mail with default message and links
>>> in
>>> it is sent.
>>>
>>> Here is the default message:
>>> "If you have problems with the link, please copy and paste this to your
>>> browser:
>>> http://localhost:5080/openmeetings/#room/36";
>>>
>>> In fact, I would like to change this default mail and change the text to
>>> put
>>> :
>>>  - localhost in case we have an openmeetings account,
>>>       "http://localhost:5080/openmeetings/#room/36";
>>>  - our openmeetings internal ip in case we are in the internal network
>>>       "http://internalip:5080/openmeetings/#room/36";
>>>  - the openmeetings external ip in case we are out of the network
>>>       "http://externalip:5080/openmeetings/#room/36";
>>>
>>> I know that I can add variables in 'Administration -> configuration' but
>>> I
>>> would like to use these variables to change the body of the message for
>>> example, and in general to manage it as I want.
>>> Is there a mean to do this directly on the web application ?
>>>
>>> Thank you in advance.
>>>
>>> Best regards.
>>>
>>> Maxime
>
>
> Hello,
>
> Thanks for your reply.
>
> Could you explain me how all the variables are linked ? For example if I
> look at "language editor" in "Administration" on web application I can see
> numbers which are linked to sentences or words.
> What are their relations with words and wickets of the HTML files ?
>
> Thank you.
>
> Best regards.
>
> Maxime



-- 
WBR
Maxim aka solomax

Reply via email to