learnzf2 / theme
There is no license information available for the latest version (dev-master) of this package.
Theme module that allows you to have different themes in your ZF2 applicaiton
Fund package maintenance!
dev-master
2014-09-19 20:10 UTC
Requires
- php: >=5.3.3
- zendframework/zendframework: 2.*
Suggests
- learnzf2/example-theme: Short example for a theme module in ZF2
This package is auto-updated.
Last update: 2026-03-14 04:09:02 UTC
README
This is a "Theme" module for Zend Framework 2.
It allows you to have different themes for your application and switch between them.
In order to describe a new theme in the module config file that provides the new theme, or extends and existing one, you should have a definition like this one:
'themes' => array (
'<theme-name>' => array (
'description' => '<Your description>',
'screenshot' => 'Optional link pointing to a screenshot of the theme',
'template_map'=> array (
'key' => 'path/to/template.phtml',
// ...
),
'template_path_stack' => array(
'/path/to/theme-templates/'
),
)
)
For more details see http://learnzf2.com/themes-in-zend-framework-2/