Setting theme.

(Uday Kumbhar2009) #1

I am a new programmer in php and Yii framework. I want to set theme in yii framework

How do I set theme in Yii framework?

and also how do i create widget in yii?

(Molnargerg) #2

[html]In the application configuration, if we configure

return array(




quoted form here:

create a widget:

(Uday Kumbhar2009) #3


I have changed theme easily. But I can’t understand in detail about widgets.

How do i create widget step by step?

Can you tell Me?

(Molnargerg) #4

here is a short article about it:

let me know if it doesn’t help and I will write a more detailed one.

(Uday Kumbhar2009) #5

I mean to say that, a widget in which i have tree view type menu as per user roles.

i am going to develop a store management system. This widget should help me.

Is there any possibility?

(Molnargerg) #6

sorry but I don’t understand what you mean.

(Uday Kumbhar2009) #7

I want to say that, a widget that generates menu based on database.

(Molnargerg) #8

why don’t you use CMenu? you can generate the array of items from your database.

(Uday Kumbhar2009) #9

How do i do it?

Can you give me an example or tutorial in detail?

(Elena Lee9) #10

how to set different themes


(Gaurishpatil) #11


you can set theme as per action also…