I’m a PHP, MYSQL, HTML, CSS, JS developer looking to build a website for our business power by Frappe and ERPNext.
I used Bitnami to quickly launch a development environment to tinker with. http://104.154.67.17/
I’m wondering how I would go about replacing the default website with a completely new website theme. Where is the default website located in the file structure? What is the best way to develop a new website? Is it in python or HTML, JS and CSS?
The default webpage that you are looking for is in website module/web page/page_name(usually your campany name). you can change the content and some details.
If you want a complete new page you can add an .html(including css and js block) and .py file into your app template/pages folder.
Adding a page.html and a page.py and replace some sections in html like:
{%- block header -%}
{%- endblock -%}
{%- block navbar -%}
{%- endblock -%}
{% block content %}
{% endblock %}
All the pages inherit from base.html template. For some examples go to the template/pages from ERPNext. There is some pages to check. I use this way to create complete custom pages.
@rmehta is there any tutorials or wikis to get clue about customize a website … for example if i want to show a top product that automatically selected the best seller of the products … or even show some document from erpnext data…