Skip to content

briu/calendarik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This engine supports only Rails 4 apps.

Installation

Add calendarik to your Gemfile:

gem 'calendarik', :git => 'https://github.com/briu/calendarik.git'

Bundle install your dependencies and run the installation generator:

bundle install
bundle exec rails g calendarik:event_model ModelName custom_field_str:string custom_field_int:integer
bundle exec rake db:migrate

Usage

Now you can use calendar on path /fetch_event/model_name/events

By default event form use only event fields, you can add your custom fields to form with partial, located in /shared/events/model_name.html.erb

Config

Custom config rules for fullcalendar plugin should be stored in config/calendarik.yml

About

https://github.com/vinsol/fullcalendar-rails-engine fork with posiibility of creation different type of events with custom fields

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published