HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Question about MarkDown rendering on the fly
@R_J i forgot to ask, is it possible to extend the conversation template to the theme? right now we can overite the vanilla views (applications/vanilla/views/* ) by copying the files to the theme folder is it possible for conversation views (/applications/conversation/views/*) to be placed in theme folder too? Wanted to… -
Re: Question about MarkDown rendering on the fly
haha I wouldn't call it kick-jaw achievement :D it's all from the good old stackoverflow. I can share you what I did but be warned I hacked the conversation view (./applications/conversations/views/messages/xxx.php) as i don't know to to extend them in the theme. Vanilla views can be extended on the theme folder but… -
Re: Question about MarkDown rendering on the fly
Thanks guys, however i ended up adding new views to the conversation view and adding methods to the conversation controller. I needed to create a Real time Group Page where people can join. like a Facebook group + messenger in one. So far it does the job especially with web FCMpushnotification working :) -
Re: Question about MarkDown rendering on the fly
-
Re: Question about MarkDown rendering on the fly
I'm not sure. Create the following files /plugins/your-plugin/views/applications/conversations/views/the-view-name-php /plugins/your-plugin/views/conversations/views/the-view-name-php /plugins/your-plugin/views/the-view-name-php The content of each of this files should be echo __FILE__; Delete the addon.json file before… -
Re: Question about MarkDown rendering on the fly
Ah my bad! it works now. Issue was , I'm sending over the message by grabbing the message by using Jquery .text() instead of .html() . text() strips html tags. basically when the user sends the private message, the conversation's addMessage is called and adds the message on his page in html format. then my js code grabs…
6 results