Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

delphaber/yii-mthaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yii MtHaml

Yii's extension for Haml template system, using MtHaml library.

Instructions

  • Code must be in this folder 'protected/extensions/yii-mthaml/'

  • Since I'm using git submodules, you need to init them:

    cd protected/extensions/yii-mthaml
    git submodule init
    git submodule update
  • Add this to your 'config/main.php' file:

    'components'=>array(
        ...
        'viewRenderer'=>array(
            'class' => 'ext.yii-mthaml.CMtHamlViewRenderer',
        ),
        ...
  • Haml templates must have '.haml' extension

About

Yii extension for Haml (MtHaml library)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages