- This topic has 44 replies, 2 voices, and was last updated 3 years, 11 months ago by Brigitte08.
-
AuthorPosts
-
May 16, 2020 at 12:16 pm #27394Ernest MarcinkoKeymaster
You cannot access this content.
May 16, 2020 at 1:42 pm #27396Brigitte08ParticipantYou cannot access this content.
May 18, 2020 at 9:32 am #27410Brigitte08ParticipantYou cannot access this content.
May 18, 2020 at 12:53 pm #27420Ernest MarcinkoKeymasterYou cannot access this content.
May 18, 2020 at 3:10 pm #27427Brigitte08ParticipantYou cannot access this content.
May 19, 2020 at 2:53 pm #27435Ernest MarcinkoKeymasterYou cannot access this content.
May 19, 2020 at 4:08 pm #27436Brigitte08ParticipantYou cannot access this content.
May 20, 2020 at 12:25 pm #27449Ernest MarcinkoKeymasterYou cannot access this content.
May 20, 2020 at 1:19 pm #27456Brigitte08ParticipantYou cannot access this content.
May 23, 2020 at 10:01 am #27519Brigitte08ParticipantYou cannot access this content.
May 23, 2020 at 10:26 am #27520Ernest MarcinkoKeymasterYou cannot access this content.
June 3, 2020 at 9:18 am #27684Brigitte08ParticipantYou cannot access this content.
June 3, 2020 at 2:09 pm #27692Ernest MarcinkoKeymasterYou cannot access this content.
June 12, 2020 at 2:00 pm #27829Brigitte08ParticipantYou cannot access this content.
June 12, 2020 at 2:38 pm #27831Ernest MarcinkoKeymasterIn order for the plugin to be able to filter by a date, a post meta field should exist on each post, that needs filtering. This field has to contain a single date, of MySQL datetime or UNIX Timestamp number data type. These data types are commonly used for date storage. It is very likely, that the calendar already uses that.
Depending on the exact storage, data type and processing method, the calendar data has to be migrated as post meta of either of these types – so that there is a direct connection between posts and the metadata. There is my previous concern, that there might be a possibility for a 1 -> N connection between posts and dates, meaning that each post type could be assigned multiple reservation dates at different times. In that case, the date has to be stored in some sort of a complex array structure – which is no longer a single date field, and cannot be used for filtering, even if it was a post meta (as the field type is no longer a date, but a serialized object/array)
Unfortunatelys there is no exact answer on how to do that, as one has to programatically understand how exactly the calendar plugin works, how it manipulates the data. -
AuthorPosts
- You must be logged in to reply to this topic.