I'm trying to find a way to use custom Gii templates for Yii 2, but looking at the missing documentation in the docs, I assume it's not possible yet? Or am I missing something?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
Copy ie. the crud generator templates from
gii/generators/crud/templates
to your applicationapp/templates/mycrud
.Then define the templates in your config:
Until the documentation is finished you may also have a look at my Gii extension how to create a custom generator and templates.