Is there a step by step tutorial for cretaing a theme

Hello,

I’d like to change the default theme but cannot find the code for classic theme to start from a checkpoint.

Any step by step tutorial? (Google does not help too much)

I don’t know of any tutorials but it’s pretty simple if you understand the architecture. There is a theme folder but it’s not really used by the default webapp that you create. To modify:

  • Layout - location: /protected/views/layouts - The main file that’s used is “main.php”, but in the controllers (CRUD created ones) you can see that they use the “column2.php” by default.

  • Style - location: /css - The main file again is "main.css", fonts for tags are mainly in "screen.css".

That’s pretty much all the main theme is.

Also check this:

http://www.yiiframework.com/doc/guide/1.1/en/topics.theming

Thanks

Now I got a new theme.