You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by ma...@bssp.fr on 2017/07/13 16:54:54 UTC
Modification of mail templates
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
Re: Modification of mail templates
Posted by ma...@bssp.fr.
On 24.07.2017 06:30, Maxim Solodovnik wrote:
> Hello Maxime,
>
> you have to perform following steps:
> 1)In case you would like to develop Openmeetings you need to run _"unpacked"_ build:
>
> mvn clean install -P allModules,unpacked,mysql,default-db-cred -DskipTests=true -Dwicket.mode=DEVELOPMENT
>
> please NOTE: default-db-cred are: user: root with empty password, please change it in pom.xml to correspond with your DB
> 2) cd openmeetings-server/target/server
> 3) ./red5-debug.sh
>
> hope this helps :)
>
> On Fri, Jul 21, 2017 at 9:09 PM, <ma...@bssp.fr> wrote:
>
> On 20.07.2017 10:18, maxime.guerif@bssp.fr wrote:
> On 18.07.2017 03:45, Vasiliy Degtyarev wrote:
> Hello,
> You should clone openmeeting sources, change file, then rebuild
> openmeetings and install custom version.
>
> Thanks,
> Vasiliy
>
> Hello,
>
> I copied the java file " https://github.com/apache/openmeetings/blob/3.3.x/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.java [1] " to my repository but it had no effect.
> My InvitationTemplate.html doesn't seem to communicate with the java file at all.
> Could you explain me how did you create your InvitationTemplate.java please ?
>
> Thanks.
>
> Best regards.
>
> Maxime
Hello,
I will do that, thank you.
Best regards
Maxime Hello,
I have done the installation of sources 3.3.x from git repository, I
then have done a maven compilation in openmeetings-3.3.x but I can't
access the WebUI, could you please explain with a quick procedure what I
should do after rebuilding openmeetings to access the WebUI, should I
install other packages?
In fact I am trying to retrieve the complete version that I had before
by using source files.
I followed this procedure :
http://openmeetings.apache.org/BuildInstructions.html [2] and I
installed mariadb-server, sox, swftools, ffmpeg and the other tools.
Otherwise, what do you mean by "install custom version" please?
Thank you again in advance.
Best regards
Maxime
--
WBR
Maxim aka solomax
Hi Maxim,
Thank you, it works much better now.
Best regards
Maxime
Links:
------
[1]
https://github.com/apache/openmeetings/blob/3.3.x/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.java
[2] http://openmeetings.apache.org/BuildInstructions.html
Re: Modification of mail templates
Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Maxime,
you have to perform following steps:
1)In case you would like to develop Openmeetings you need to run
*"unpacked"* build:
mvn clean install -P allModules,unpacked,mysql,default-db-cred
-DskipTests=true -Dwicket.mode=DEVELOPMENT
please NOTE: default-db-cred are: user: root with empty password, please
change it in pom.xml to correspond with your DB
2) cd openmeetings-server/target/server
3) ./red5-debug.sh
hope this helps :)
On Fri, Jul 21, 2017 at 9:09 PM, <ma...@bssp.fr> wrote:
> On 20.07.2017 10:18, maxime.guerif@bssp.fr wrote:
>
>> On 18.07.2017 03:45, Vasiliy Degtyarev wrote:
>>
>>> Hello,
>>> You should clone openmeeting sources, change file, then rebuild
>>> openmeetings and install custom version.
>>>
>>> Thanks,
>>> Vasiliy
>>>
>>> Hello,
>>>>
>>>> I copied the java file " https://github.com/apache/open
>>>> meetings/blob/3.3.x/openmeetings-service/src/main/java/org/
>>>> apache/openmeetings/service/mail/template/InvitationTemplate.java " to
>>>> my repository but it had no effect.
>>>> My InvitationTemplate.html doesn't seem to communicate with the java
>>>> file at all.
>>>> Could you explain me how did you create your InvitationTemplate.java
>>>> please ?
>>>>
>>>> Thanks.
>>>>
>>>> Best regards.
>>>>
>>>> Maxime
>>>>
>>>
>> Hello,
>>
>> I will do that, thank you.
>>
>> Best regards
>>
>> Maxime
>>
>
> Hello,
>
> I have done the installation of sources 3.3.x from git repository, I then
> have done a maven compilation in openmeetings-3.3.x but I can't access the
> WebUI, could you please explain with a quick procedure what I should do
> after rebuilding openmeetings to access the WebUI, should I install other
> packages?
> In fact I am trying to retrieve the complete version that I had before by
> using source files.
>
> I followed this procedure : http://openmeetings.apache.org
> /BuildInstructions.html and I installed mariadb-server, sox, swftools,
> ffmpeg and the other tools.
>
> Otherwise, what do you mean by "install custom version" please?
>
> Thank you again in advance.
>
> Best regards
>
> Maxime
>
--
WBR
Maxim aka solomax
Re: Modification of mail templates
Posted by ma...@bssp.fr.
On 20.07.2017 10:18, maxime.guerif@bssp.fr wrote:
> On 18.07.2017 03:45, Vasiliy Degtyarev wrote:
>> Hello,
>> You should clone openmeeting sources, change file, then rebuild
>> openmeetings and install custom version.
>>
>> Thanks,
>> Vasiliy
>>
>>> Hello,
>>>
>>> I copied the java file "
>>> https://github.com/apache/openmeetings/blob/3.3.x/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.java
>>> " to my repository but it had no effect.
>>> My InvitationTemplate.html doesn't seem to communicate with the java
>>> file at all.
>>> Could you explain me how did you create your InvitationTemplate.java
>>> please ?
>>>
>>> Thanks.
>>>
>>> Best regards.
>>>
>>> Maxime
>
> Hello,
>
> I will do that, thank you.
>
> Best regards
>
> Maxime
Hello,
I have done the installation of sources 3.3.x from git repository, I
then have done a maven compilation in openmeetings-3.3.x but I can't
access the WebUI, could you please explain with a quick procedure what I
should do after rebuilding openmeetings to access the WebUI, should I
install other packages?
In fact I am trying to retrieve the complete version that I had before
by using source files.
I followed this procedure :
http://openmeetings.apache.org/BuildInstructions.html and I installed
mariadb-server, sox, swftools, ffmpeg and the other tools.
Otherwise, what do you mean by "install custom version" please?
Thank you again in advance.
Best regards
Maxime
Re: Modification of mail templates
Posted by ma...@bssp.fr.
On 18.07.2017 03:45, Vasiliy Degtyarev wrote:
> Hello,
> You should clone openmeeting sources, change file, then rebuild
> openmeetings and install custom version.
>
> Thanks,
> Vasiliy
>
>> Hello,
>>
>> I copied the java file "
>> https://github.com/apache/openmeetings/blob/3.3.x/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.java
>> " to my repository but it had no effect.
>> My InvitationTemplate.html doesn't seem to communicate with the java
>> file at all.
>> Could you explain me how did you create your InvitationTemplate.java
>> please ?
>>
>> Thanks.
>>
>> Best regards.
>>
>> Maxime
Hello,
I will do that, thank you.
Best regards
Maxime
Re: Modification of mail templates
Posted by Vasiliy Degtyarev <va...@unipro.ru>.
Hello,
You should clone openmeeting sources, change file, then rebuild
openmeetings and install custom version.
Thanks,
Vasiliy
> Hello,
>
> I copied the java file "
> https://github.com/apache/openmeetings/blob/3.3.x/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.java
> " to my repository but it had no effect.
> My InvitationTemplate.html doesn't seem to communicate with the java
> file at all.
> Could you explain me how did you create your InvitationTemplate.java
> please ?
>
> Thanks.
>
> Best regards.
>
> Maxime
Re: Modification of mail templates
Posted by ma...@bssp.fr.
On 16.07.2017 16:12, maxime.guerif@bssp.fr wrote:
> On 14.07.2017 17:47, Maxim Solodovnik wrote:
>> 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, <ma...@bssp.fr> 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, <ma...@bssp.fr> 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
>
> Hello,
>
> Yes this is a lot more clearer, thank you for your explanation, I will
> try it.
>
> Best regards
>
> Maxime
Hello,
I copied the java file "
https://github.com/apache/openmeetings/blob/3.3.x/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.java
" to my repository but it had no effect.
My InvitationTemplate.html doesn't seem to communicate with the java
file at all.
Could you explain me how did you create your InvitationTemplate.java
please ?
Thanks.
Best regards.
Maxime
Re: Modification of mail templates
Posted by ma...@bssp.fr.
On 14.07.2017 17:47, Maxim Solodovnik wrote:
> 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, <ma...@bssp.fr> 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, <ma...@bssp.fr> 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
Hello,
Yes this is a lot more clearer, thank you for your explanation, I will
try it.
Best regards
Maxime
Re: Modification of mail templates
Posted by Maxim Solodovnik <so...@gmail.com>.
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, <ma...@bssp.fr> 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, <ma...@bssp.fr> 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
Re: Modification of mail templates
Posted by ma...@bssp.fr.
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, <ma...@bssp.fr> 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
Re: Modification of mail templates
Posted by Maxim Solodovnik <so...@gmail.com>.
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, <ma...@bssp.fr> 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
--
WBR
Maxim aka solomax