No it should work as it is.
There was a bug with clearing cache in case of new pages. It is fixed in
Frappe 5.0
As a temp solution - clear your memcache to make your page appear.
On 10-Sep-2014, at 6:36 pm, Saurabh Palande sa...@gmail.com
wrote:
Hi Rushabh,
I have created an App, named ass FX. Under template folder i have added
registration.html and registration.py.
Then I have added website_generators = ["registration"]
in hooks.py
under my app.
But I am not getting whether to extend WebsiteGenerator.
App fork is : https://github.com/saurabh6790/fx
page name is reg1.html, reg1.py and hooks entry is like
website_generators = ["reg1"]
I want to achieve similar structure like contact us page.
You have to put it in templates/pages
no need to add generators
Thanks,
On Wed, Sep 10, 2014 at 10:46 AM, Rushabh Mehta rm...@gmail.com
wrote:
You have to add it to hooks.py and subclass from WebsiteGenerator
On 09-Sep-2014, at 8:24 pm, Saurabh Palande sa...@gmail.com
wrote:
Hi Rushabh,
I have created a registration.html
and registration.py
. Then I
execute frappe --build_website
.
But this haven’t create a page. Also there is no doctype named as
‘Website Route’.
Please let me know whether I am missing .
Thanks,
On Tue, Jul 22, 2014 at 6:23 PM, Saurabh Palande
sa...@gmail.com wrote:
Hi Rushabh,
Thank You.
On Tue, Jul 22, 2014 at 5:36 PM, Rushabh Mehta rm...@gmail.com
wrote:
Website Route is created automatically. Use frappe --build_website
after you create your page.
On 22-Jul-2014, at 5:18 pm, saurabh palande sa...@gmail.com
wrote:
Hi Rushabh,
I want to add a new page similar to Contact Us. I made a go through,
I figured out that we have to add Template and Controller in Website Route.
When I tried to create new record in Website Route, it not permits me
(logged in as Administrator) . So I have created a web page and then I am
trying to change the Template and Controller’s path but these two fields are
not editable.
Please let me know the correct way for achieveing the same.
Thanks,
Saurabh Palande
–
Note:
If you are posting an issue,
- ERPNext is a free and open source software and support is given on
this forum by a team (https://frappe.io/webnotes). So please consider
donating if you find this forum useful (https://frappe.io/buy). Even a small
amount would be helpful.
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com
and send only the URL via email
- 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/c2382d0e-bac0-4522-9d6a-8fc4111b9e70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
–
Note:
If you are posting an issue,
- ERPNext is a free and open source software and support is given on
this forum by a team (https://frappe.io/webnotes). So please consider
donating if you find this forum useful (https://frappe.io/buy). Even a small
amount would be helpful.
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com
and send only the URL via email
- 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/1071D62D-309C-4896-9CFA-7EA0E8985C20%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
–
S.S.Palande
–
S.S.Palande
–
Note:
If you are posting an issue,
- ERPNext is a free and open source software and support is given on
this forum by a team (https://frappe.io/webnotes). So please consider
donating if you find this forum useful (https://frappe.io/buy). Even a small
amount would be helpful.
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and
send only the URL via email
- 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/CAGCrPP-G4f6g%3D2_YPHWeyoRBE2SVemPOs79FgoMzcH4szw%2B1bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
–
Note:
If you are posting an issue,
- ERPNext is a free and open source software and support is given on
this forum by a team (https://frappe.io/webnotes). So please consider
donating if you find this forum useful (https://frappe.io/buy). Even a small
amount would be helpful.
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and
send only the URL via email
- 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/B5DF86DE-FB9C-473D-9FC6-76D5BE272B38%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
–
S.S.Palande
–
Note:
If you are posting an issue,
- ERPNext is a free and open source software and support is given on
this forum by a team (https://frappe.io/webnotes). So please consider
donating if you find this forum useful (https://frappe.io/buy). Even a small
amount would be helpful.
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and
send only the URL via email
- 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/CAGCrPP9Czf%3DDmKBKkM83-PBNwJQTch6P680HSc%3D7aj8OpGRkKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
–
Note:
If you are posting an issue,
- ERPNext is a free and open source software and support is given on
this forum by a team (https://frappe.io/webnotes). So please consider
donating if you find this forum useful (https://frappe.io/buy). Even a small
amount would be helpful.
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and
send only the URL via email
- 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/8ADA7C06-1DC7-4956-91D2-3C1D7D088CA1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.