Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Customfields help
This is a cool but difficult feature to implement
What i want is each calendar to have it own set of custom fields, So when you go to Add Calendar Form you see this (admins only)
String
Url
Email
String
Url
Email
When you submit the form, the array is saved as such
Which I can serialize and save to the database.
Now when you go to the EventForm to create a new event, you select the calendar, and out pops that calendars custom fields like below
When you submit the form, the array is saved as such
Which I serialize and save to the database
Does this make sense so far, or you guys have a better idea or potential pitfalls with this method
What i want is each calendar to have it own set of custom fields, So when you go to Add Calendar Form you see this (admins only)
String
Url
String
Url
When you submit the form, the array is saved as such
$CustomFields[] = array(0 => array("CustomFieldName1" => "Website", "CustomFieldType1" => "Url"),
1 => array("CustomFieldName2" => "Location", "CustomFieldType1" => "String"));
Which I can serialize and save to the database.
Now when you go to the EventForm to create a new event, you select the calendar, and out pops that calendars custom fields like below
When you submit the form, the array is saved as such
$CustomFields[] = array(0 => array("CustomFieldName1" => "Website","CustomFieldValue1" => "http://Ticketmaster.com", "CustomFieldType1" => "Url"),
1 => array("CustomFieldName2" => "Location","CustomFieldValue2" => "Central park NYC", "CustomFieldType2" => "String"));
Which I serialize and save to the database
Does this make sense so far, or you guys have a better idea or potential pitfalls with this method
0
This discussion has been closed.
Comments