RWidgetGenerator is a widget generator the boost up your widget creation on the fly :) it not only generates the widget. it optionally generates the variables needed by this widget with optional initial values , the methods needed by this widget, and view for this widget
Requirements ¶
Yii 1.1 but tested on Yii 1.1.14
Usage ¶
extarct this extension under extensions directory and rename this extension folder as rwidgetgenerator (extensions/rwidgetgenerator) and the in application configuration (config.php) edit the gii module's generatorPaths as
'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.rwidgetgenerator'
)
),
now you are ready to use this generator :)
show gii configuration
Could you post your config line? and did you renamed to rwidgetgenerator?
Here is my config lines
'modules' => array(
'gii'=>array( 'class'=>'system.gii.GiiModule', 'password'=>false, 'ipFilters'=>array('127.0.0.1','::1'), 'generatorPaths'=>array( 'extensions.rwidgetgenerator' ) ), ),
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.