bokmann / fullcalendar-rails

an asset gem containing Adam Shaw's excellent fullcalendar jquery plugin
MIT License
463 stars 154 forks source link

Fullcalendar doesnt allow including application.js and application.css.scss tags in application.html.erb rails #41

Closed boyfunky closed 7 years ago

boyfunky commented 9 years ago

http://stackoverflow.com/questions/28198933/fullcalendar-header-toolbar-buttons-not-showing-when-application-css-and-javascr

Based on the question posted here in Stackoverflow. I followed the same installation and implementation for fullcalendar but it doesnt. It shows the calendar but doesnt show the buttons (prev, next, day, week, month) etc..

gr8bit commented 9 years ago

Acknowledged, but unfortunately I'll need some days to evaluate that. Is downgrading an option in the meanwhile? You're also very welcome to collect hints to where the actual problem is within the gem, because its actually a very simple packaging...

Thank you!

boyfunky commented 9 years ago

Downgrading is an option but using rails 4 is a must. When i run the fullcalendar assets it runs properly but it is on rails 3 but not on rails 4.

chandrkant2785 commented 9 years ago

i am run the fullcalendar-rails on rails 4 but calendar header not display.

gr8bit commented 9 years ago

Just tu be sure it isn't fixed yet please check out the new version @boyfunky

ghost commented 9 years ago

I'm afraid issue still isn't fixed, only title can be displayed in the header. Any ideas how to bypass this problem for now? Any help would be very appraciated.

gr8bit commented 9 years ago

I still don't have enough time to dig into that error, a pull request from someone who has and sorted it out would be much appreciated!

ghost commented 9 years ago

Looks like it's an bug with the assets pipeline in rails 4, didn't test it with rails 3 but fullcalendar versions prior to 2.x do actually work. I tried to locate the problem but I can't even see the problem. The header icons are there in html, so I think it's an stylesheet issue. Maybe some styles are overwritten by some stuff we all have in our pipeline (e.g. Bootstrap?). Would love some brain storming on this!

gr8bit commented 9 years ago

Strange... Did you set up a fresh project to test this? If so, could you share the repo?

ghost commented 9 years ago

Actually I did set up a fresh project but I can't share it with you. Sorry