Module Creation

Hi

as per Yii create module the module contains models , components and views etc…

but I created module "controll" through gii, and its directory contained folders and files are

/controllers

/views

/controllModule.php is this correct ?

Thank

Nisanth

No… The code generation tool gii will create- components, controller, message, models, views and corresponding module.php file.

Check the gii settings in config/main.php of your application.

Hi

my gii setting is

	'gii'=>array(


		'class'=>'system.gii.GiiModule',


		'password'=>'******',


		// If removed, Gii defaults to localhost only. Edit carefully to taste.


		'ipFilters'=>array('127.0.0.1'),


	),

and its working fine for creating crud in front end


Thanks Nisanth

Hi,

you only the install the gii so please install the giix-core and easy to generate your code…

please see this…

hope it will be helpful…