Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default theme update to version '1.0.0-beta.2' #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
Default Theme
================
=============

Pi Engine default theme




**Folder and file skeleton**

* Templates REQUIRED for front:
* tmplate/layout-front.phtml - complete layout template: header, footer, body, blocks, navigation
* tmplate/layout-simple.phtml - error page layout: header, footer, body
* tmplate/layout-style.phtml - content with stylesheets
* tmplate/layout-content.phtml - raw content without stylesheets
* template/error.phtml - defined in var/config/config.application.php: view_manager.error_template
* Templates REQUIRED for admin:
* tmplate/layout-admin.phtml - backoffice layout
* Templates OPTIONAL for front:
* template/page-zone.phtml - for block manipulation on a page
* template/block.phtml - called by layout-front.phtml
* template/error-404.phtml - defined in var/config/config.application.php: view_manager.not_found_template
* template/error-denied.phtml - defined in var/config/config.application.php: view_manager.denied_template
* template/error-exception.phtml - defined in var/config/config.application.php: view_manager.exception_template
* Stylesheet file REQUIRED:
* asset/css/style.css - main css file

**Best practices**
* It is highly recommended to use 'pi-' as prefix for all global id and class names used in theme to avoid conflicts.
* It is highly recommended to use module identity as prefix for module id and class names used in templates to avoid conflicts, for instance 'demo-'.
Loading