SpinaCMS / Spina

Spina CMS
http://www.spinacms.com
Other
2.19k stars 405 forks source link

build a theme #89

Closed tanvirraj closed 8 years ago

tanvirraj commented 9 years ago

i want to build a theme , but there is lack of documentation

nakamuraagatha commented 8 years ago

yeah... i think so this lack documentation. i like this cms

llecram commented 8 years ago

I agree that spina lacks documentation but, I've manage to understand how one could simply build a theme for the spina cms.

There are 3 main files in which I found to be useful when thinking about creating a theme. Those files are engine.rb lib/spina/engine.rb theme.rb lib/spina/engine.rb theme.rb lib/generators/spina/templates/theme.rb

If you are to look inside of the last theme.rb file you will see where the default theme is being initialized. Hope this information is useful and good luck!

panigrah commented 8 years ago

Look through this and see if it helps. Suggest any changes that will help you.

https://github.com/denkGroot/Spina/wiki/How-to-create-or-use-a-theme-in-Spina

nakamuraagatha commented 8 years ago

@panigrah thanks for information