https://github.com/pi-engine/pi-theme-default
Pi Engine default theme
https://github.com/pi-engine/pi-theme-default
Last synced: 2 months ago
JSON representation
Pi Engine default theme
- Host: GitHub
- URL: https://github.com/pi-engine/pi-theme-default
- Owner: pi-engine
- Created: 2013-06-26T02:51:34.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-26T03:05:45.000Z (almost 13 years ago)
- Last Synced: 2025-06-12T16:47:42.807Z (12 months ago)
- Size: 373 KB
- Stars: 1
- Watchers: 8
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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-'.