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

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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1f32676b-5ad8-43ef-8644-4292dbcf5e49%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
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+un…@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.
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 <ch...@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+un...@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.



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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/89A8F1E9-8D65-419A-9D70-610DE8B4CBB4%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
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 <ch...@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+un...@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.



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+un…@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.

    For more options, visit https://groups.google.com/d/optout.
Awesome. Here are the source files

https://github.com/frappe/frappe_io/tree/master/frappe_io/templates/statics/apps/frappe-framework/developers

You can send in a pull-request :)


On 13-Jun-2014, at 10:29 pm, Chris Horton <ch...@thedrainage.com> wrote:

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 <ch...@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+un...@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.




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+un…@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.

    For more options, visit https://groups.google.com/d/optout.



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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1C31A6F7-B181-4E29-A324-EE989C4F7EBA%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
I just made one here: https://github.com/frappe/frappe_io/pull/12

Thanks!

On Saturday, June 14, 2014 12:36:15 AM UTC-4, rushabh wrote:
Awesome. Here are the source files

https://github.com/frappe/frappe_io/tree/master/frappe_io/templates/statics/apps/frappe-framework/developers

You can send in a pull-request :)


On 13-Jun-2014, at 10:29 pm, Chris Horton <ch...@thedrainage.com> wrote:

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 <ch...@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+un...@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.




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+un…@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.

    For more options, visit https://groups.google.com/d/optout.



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+un…@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.

    For more options, visit https://groups.google.com/d/optout.
Thanks Chris. This is awesome :)


On 16-Jun-2014, at 10:10 pm, Chris Horton <ch...@thedrainage.com> wrote:

I just made one here: https://github.com/frappe/frappe_io/pull/12

Thanks!

On Saturday, June 14, 2014 12:36:15 AM UTC-4, rushabh wrote:
Awesome. Here are the source files

https://github.com/frappe/frappe_io/tree/master/frappe_io/templates/statics/apps/frappe-framework/developers

You can send in a pull-request :)


On 13-Jun-2014, at 10:29 pm, Chris Horton <ch...@thedrainage.com> wrote:

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 <ch...@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+un...@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.




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+un…@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.

    For more options, visit https://groups.google.com/d/optout.




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+un…@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.

    For more options, visit https://groups.google.com/d/optout.



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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/355503E8-BCB6-489D-A135-D3CCE912F374%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.