Add New HTML template in converse js

From:

Vinoth Rajendran

Date:

2015-06-30 @ 15:09

Hi All,
I am trying to add new template in converse js. I have modified,
main.js
template.js
But I couldn't get this template in *converse.templates* object.
Please help me to figure out a solution!
Thanks,
Vinoth R

Re: [conversejs] Add New HTML template in converse js

From:

Jc Brand

Date:

2015-06-30 @ 18:37

You need to run "make build" as well.
On 30 Junie 2015 5:09:08 nm. GMT+02:00, Vinoth Rajendran
<vinoth.r@ideas2it.com> wrote:
>Hi All,>>I am trying to add new template in converse js. I have modified,>>main.js>template.js>>But I couldn't get this template in *converse.templates* object.>Please help me to figure out a solution!>>Thanks,>Vinoth R-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: [conversejs] Add New HTML template in converse js

From:

Vinoth Rajendran

Date:

2015-07-02 @ 04:06

Thanks JC Brand. Its works
On Wed, Jul 1, 2015 at 12:07 AM, JC Brand <lists@opkode.com> wrote:
> You need to run "make build" as well.>> On 30 Junie 2015 5:09:08 nm. GMT+02:00, Vinoth Rajendran <> vinoth.r@ideas2it.com> wrote:>>>> Hi All,>>>> I am trying to add new template in converse js. I have modified,>>>> main.js>> template.js>>>> But I couldn't get this template in *converse.templates* object.>> Please help me to figure out a solution!>>>> Thanks,>> Vinoth R>>>> --> Sent from my Android device with K-9 Mail. Please excuse my brevity.>

Re: [conversejs] Add New HTML template in converse js

From:

Vinoth Rajendran

Date:

2015-07-03 @ 05:29

I have added new template for appending messages. But this templates are
not HTML message bindable.
For example,
If my message is HTML like <div class="emoticon rage"></div>
It rendered as text. I wanted to render HTML messages in html format.
On Thu, Jul 2, 2015 at 9:36 AM, Vinoth Rajendran <vinoth.r@ideas2it.com>
wrote:
> Thanks JC Brand. Its works>> On Wed, Jul 1, 2015 at 12:07 AM, JC Brand <lists@opkode.com> wrote:>>> You need to run "make build" as well.>>>> On 30 Junie 2015 5:09:08 nm. GMT+02:00, Vinoth Rajendran <>> vinoth.r@ideas2it.com> wrote:>>>>>> Hi All,>>>>>> I am trying to add new template in converse js. I have modified,>>>>>> main.js>>> template.js>>>>>> But I couldn't get this template in *converse.templates* object.>>> Please help me to figure out a solution!>>>>>> Thanks,>>> Vinoth R>>>>>>> -->> Sent from my Android device with K-9 Mail. Please excuse my brevity.>>>>

Re: [conversejs] Add New HTML template in converse js

From:

Jc Brand

Date:

2015-07-03 @ 12:09

Are you loading it as a template with !tpl?
Paste your code so that we can see what you're doing.
On 03 Julie 2015 7:29:37 vm. GMT+02:00, Vinoth Rajendran
<vinoth.r@ideas2it.com> wrote:
>I have added new template for appending messages. But this templates>are>not HTML message bindable.>>For example,>>If my message is HTML like <div class="emoticon rage"></div>>>It rendered as text. I wanted to render HTML messages in html format.>>On Thu, Jul 2, 2015 at 9:36 AM, Vinoth Rajendran><vinoth.r@ideas2it.com>>wrote:>>> Thanks JC Brand. Its works>>>> On Wed, Jul 1, 2015 at 12:07 AM, JC Brand <lists@opkode.com> wrote:>>>>> You need to run "make build" as well.>>>>>> On 30 Junie 2015 5:09:08 nm. GMT+02:00, Vinoth Rajendran <>>> vinoth.r@ideas2it.com> wrote:>>>>>>>> Hi All,>>>>>>>> I am trying to add new template in converse js. I have modified,>>>>>>>> main.js>>>> template.js>>>>>>>> But I couldn't get this template in *converse.templates* object.>>>> Please help me to figure out a solution!>>>>>>>> Thanks,>>>> Vinoth R>>>>>>>>>> -->>> Sent from my Android device with K-9 Mail. Please excuse my brevity.>>>>>>>-- Sent from my Android device with K-9 Mail. Please excuse my brevity.