lucasefe / themes_for_rails

Theme Support for Rails 3
This very same page :)
MIT License
308 stars 102 forks source link

Themes stored in Database #26

Closed shenoudab closed 12 years ago

shenoudab commented 13 years ago

Dears,

i was looking for storing these themes in Database, as every user have and create his own theme. and to be also available of editing by users.

how that can be done with themes_for_rails

Best Regards, Shenouda Bertel

mgladkov commented 13 years ago

I think you should create some uploading mechanism first. After that, you will place each theme in separate folder and put link to this folder into database. Then you should load theme for each user separately from his folder.

lucasefe commented 12 years ago

Let me see if I get it. Do you want to store css, js and images files on the database? Or only the theme names?

First option seems kind of difficult. Also, probably this is not something that ThemesForRails should do. may be I am wrong, so feel free to expand on the subject.

Thanks.