Developer Guide 2: Chat > Making Public Pages : Where is the correct folder?

24 views
Skip to first unread message

Chris Horton

unread,
Jun 13, 2014, 10:47:10 AM6/13/14
to erpnext-dev...@googlegroups.com
I am this part of the Developer Guide 2, trying to set up the public page for the chat. I created the indicated chat.html and chat.py files, but no matter where I put them, localhost:8000/chat gives me a page saying "Page missing or removed" instead of what's in the bottom screenshot.

The tutorial says simply to place these files in "website_chat/templates/", which I guessed meant:

/home/christopher/frappe-bench/apps/website_chat/website_chat/templates

...but it seems this isn't right. So, where are these files supposed to go so this works? Thanks!

Chris Horton

unread,
Jun 13, 2014, 11:00:35 AM6/13/14
to erpnext-dev...@googlegroups.com
I was given the solution over Skype. The correct directory is website_chat/templates/pages/ . A big thanks to my co-worker Pingpan for his help!

Rushabh Mehta

unread,
Jun 13, 2014, 12:35:33 PM6/13/14
to erpnext-dev...@googlegroups.com
Great to see the document in action - will put out more developer docs soon. Planning to dedicate one day each week for documentation. Feedback / contributions welcome :)



@rushabh_mehta

-- 
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/b265ccdf-7b70-42a2-8a36-c906c7ae6856%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chris Horton

unread,
Jun 13, 2014, 12:59:00 PM6/13/14
to erpnext-dev...@googlegroups.com
If I want to help contribute to these documents, how should I go about doing it? Thanks!


On Friday, June 13, 2014 12:35:33 PM UTC-4, rushabh wrote:
Great to see the document in action - will put out more developer docs soon. Planning to dedicate one day each week for documentation. Feedback / contributions welcome :)



@rushabh_mehta

On 13-Jun-2014, at 8:30 pm, Chris Horton <chris...@thedrainage.com> wrote:

I was given the solution over Skype. The correct directory is website_chat/templates/pages/ . A big thanks to my co-worker Pingpan for his help!

On Friday, June 13, 2014 10:47:10 AM UTC-4, Chris Horton wrote:
I am this part of the Developer Guide 2, trying to set up the public page for the chat. I created the indicated chat.html and chat.py files, but no matter where I put them, localhost:8000/chat gives me a page saying "Page missing or removed" instead of what's in the bottom screenshot.

The tutorial says simply to place these files in "website_chat/templates/", which I guessed meant:

/home/christopher/frappe-bench/apps/website_chat/website_chat/templates

...but it seems this isn't right. So, where are these files supposed to go so this works? 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-forum+unsub...@googlegroups.com.

Rushabh Mehta

unread,
Jun 14, 2014, 12:36:15 AM6/14/14
to erpnext-dev...@googlegroups.com
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/f171c5ff-71ad-4fe7-bbbf-03285738f9a4%40googlegroups.com.

Chris Horton

unread,
Jun 16, 2014, 12:40:49 PM6/16/14
to erpnext-dev...@googlegroups.com
I just made one here: https://github.com/frappe/frappe_io/pull/12

Thanks!
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.

Rushabh Mehta

unread,
Jun 17, 2014, 3:20:06 AM6/17/14
to erpnext-dev...@googlegroups.com
Thanks Chris. This is awesome :)


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/f77e5d87-1f31-46fa-b0ac-043daeb09a2f%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages