neoc83
(Neoc83)
March 31, 2014, 1:10pm
261
I’m using an alternative folder structure with separate ‘frontend’, ‘backend’ and ‘common’ application folders in the ‘protected’ folder. I’ve put the Giix code in the protected/common folder so that it can be used for code generation for both frontend and backend. In the backend config file I have the following for Giix:
...
Yii::setPathOfAlias('common', $rootPath . '/common/');
...
'modules' => array(
'gii' => array(
'class' => 'system.gii.GiiModule',
'generatorPaths' => array(
'common.extensions.giix.generators', // giix generators
),
'password' => 'xxxxxx',
// If removed, Gii defaults to localhost only. Edit carefully to taste.
'ipFilters' => array('127.0.0.1'),
),
),
'import' => array(
'common.extensions.giix.components.*', // giix components
),
When I go to localhost/myapp/backend/gii/giixModel/index I’m getting the following error:
Error 500
Alias "ext.giix.generators.giixModel.GiixModelCode" is invalid. Make sure it points to an existing PHP file and the file is read
Does anyone know how to get Giix working with an alternative folder structure?
Hi Rodrigo,
You mentioned planning to create giix 2.
Can you inform us on the progress?
If you appreciate any help: I wouldn’t mind.
mentel
(Yii)
August 3, 2014, 6:27pm
263
Hi Piet,
Thanks for offering your help!
Yes, I was planning to create giix 2, but my schedule has been so busy, I haven’t even started it yet.
I still want to update giix for Yii 2.0, but unfortunately I have no idea about when I’ll be able to do it in the medium term.
almirb
(Almir Bsi)
December 5, 2014, 8:03pm
264
Hi,
I’m using Giix and found something interesting:
Every time I use
GxHtml::encode(GxHtml::valueEx($data->relation))
The DBProfiler statistics are showing full queries for every row in the table. The problem doesn’t occur when using normal (not related fields).
In this situation, I only need the representing column of the related model, not all the fields.
Here are some images to show what I’m saying.
The CGridView and the profiler result.
*relation is representing any of the named relations of the model.
checkmate
(Ttobi4)
August 26, 2016, 10:48am
265
please i need help on how to overide the methods in the model specifically rules(), all the methods i have tried have failed me. please help
Antonikoggu
(Bdorothyselizabeth)
October 24, 2016, 3:59pm
266
No hurries.
I have another feature request for you…
Checkbox to display UPS status…
And a tiny correction : in extended gui config page temperatur instances are missing an e