-
Notifications
You must be signed in to change notification settings - Fork 4
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
modeldoc not showing up #20
Comments
Does this give the path expected: echo Yii::getPathOfAlias('ext.gii-modeldoc-generator.gii'); |
gives: /var/www/professionalworks/protected/extensions/gii-modeldoc-generator/gii |
Seems different to the path in your original post: /var/www/html/protected/extensions VS /var/www/professionalworks/protected/extensions |
sry,.. changed the path between posts....buts its the same for sure! so it must be another problem....any hints? |
I did the following:
'modules'=>array(
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>false,
// If removed, Gii defaults to localhost only. Edit carefully to taste.
'ipFilters'=>array('127.0.0.1','::1'),
'generatorPaths' => array(
'ext.gii-modeldoc-generator.gii',
),
),
),
Everything worked correctly. I could see ModelDoc Generator at the bottom of the Gii list. I uploaded the code here so you can see it: |
downloaded this archive:
https://github.com/cornernote/gii-modeldoc-generator/releases/latest
extracted:
user@work:/var/www/html/protected/extensions$ ls -laht gii-modeldoc-generator/
insgesamt 48K
drwxrwxrwx 37 www-data www-data 4,0K Okt 27 16:04 ..
drwx------ 11 max max 4,0K Okt 27 16:01 tests
drwx------ 5 max max 4,0K Okt 27 16:01 .
drwx------ 2 max max 4,0K Okt 27 16:01 screenshot
drwx------ 3 max max 4,0K Okt 27 16:01 gii
-rw-rw-r-- 1 max max 374 Okt 12 10:26 codeception.yml
-rw-rw-r-- 1 max max 562 Okt 12 10:26 composer.json
-rw-rw-r-- 1 max max 42 Okt 12 10:26 .gitignore
-rw-rw-r-- 1 max max 1,6K Okt 12 10:26 LICENSE
-rw-rw-r-- 1 max max 5,3K Okt 12 10:26 README.md
-rw-rw-r-- 1 max max 846 Okt 12 10:26 .travis.yml
and config:
'gii' => array(
'class' => 'system.gii.GiiModule',
'ipFilters' => array('127.0.0.1', '::1'),
'generatorPaths' => array(
'bootstrap.gii',
'ext.gii-modeldoc-generator.gii'
)
),
no link is showing up in gii....
any ideas??
The text was updated successfully, but these errors were encountered: