Developer Guide 2: Chat > Writing Controllers and API : Location of chat.js

15 views
Skip to first unread message

Chris Horton

unread,
Jun 13, 2014, 1:03:30 PM6/13/14
to erpnext-dev...@googlegroups.com
I'm following the Developer Guide 2: Chat and I'm in Writing Controllers and API. I needed to create a chat.js file and place it in website_chat/templates/includes/ to get additional chat output to show up onscreen. However, when I do so, nothing happens. I have also tried putting this file in website_chat/templates/pages alongside the chat.html and chat.py files, but with no success. What do I need to do to get these changes to appear in the browser output? Thanks!

Rushabh Mehta

unread,
Jun 14, 2014, 12:35:12 AM6/14/14
to erpnext-dev...@googlegroups.com
On 13-Jun-2014, at 10:33 pm, Chris Horton <chris...@thedrainage.com> wrote:

I'm following the Developer Guide 2: Chat and I'm in Writing Controllers and API. I needed to create a chat.js file and place it in website_chat/templates/includes/ to get additional chat output to show up onscreen. However, when I do so, nothing happens. I have also tried putting this file in website_chat/templates/pages alongside the chat.html and chat.py files, but with no success. What do I need to do to get these changes to appear in the browser output? Thanks!

--
Note:
 
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/be11964b-e39c-4c1a-a091-138020f056a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages