Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Is there an easy way to integrate a special theme to my rails application? My theme has only js/css/images but i dont't know the best way to integrate it for my application.

the theme is mooncake from themeforest.com

structure of theme

My first try was to integrate step by step functionality. This worked fine until I cam to special js jquery etc...

share|improve this question
    
You can move the js/css into the assets folder that should be fine. No? –  redDragonzz Oct 23 '12 at 12:54
    
every single css file into assets/stylesheets folder. every js file into assets/javascripts folder, every assets/image into to images folder? or simple the whole folder into assets? –  simon.franzen Oct 23 '12 at 12:56
1  
whatever is inside the css folder (in the theme) move it to css folder, whatever is inside the js folder (in the theme) move it to the js folder. As you will probably include the main js and css files in your layout.html.erb i think the relative structure will remain intact. Plus you might wanna check out Rails assets pipeline. –  redDragonzz Oct 23 '12 at 13:04
    
I try my best and give report! –  simon.franzen Oct 23 '12 at 13:06
    
My problem is, that in every plugin subfolder exists an css and js folder or sometimes and images folder. I will try to integrate step by step –  simon.franzen Oct 23 '12 at 13:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.