how do you add a static page on your webapp?

does it still need a model? since it doesn’t use a database.

what should i generate?. i assume that i have to hardcode the classfiles and views but that’s not a big deal. i just want to know if this works or what.

thank you for the replies in advance…

Check the default code generated by Gii… the “About” page is a static page… look how it’s implemented and how it works…

it’s okay i got it. just added a new public function actionNewPageName()

and rendered a ‘newpagename’

and added a newpagename.php in site/