Loading...
 
Architecture / Installation

Architecture / Installation


Calendar - locationId and categoryId

posts: 5

I have a bunch of calendar data that I want to upload directly to the database without having to put in each entry individually... I am not quite ready to do it though because 2 of the fields on the tiki_calendar_items are a mystery to me... locationId and categoryId. they both seem to increment in every calendar entry yet are equal to each other. Any idea what they are? The 'default' value for them is NULL... Can I just leave them blank when uploading the entries to the database?

-Sam

tikiwiki 1.9.6

posts: 1092

I don't remember for calendarId but for locationId it is a bug.
When the item has no location, it creates a location with a name "not specified". This doesn't work in a multilingual environment - as the string is not tranlated. A calendar item must accept a null location.
So far I know you can add in your database a null value.
But this will have to be corrected
sylvie

posts: 5

> I don't remember for calendarId but for locationId it is a bug.
> When the item has no location, it creates a location with a name "not specified". This doesn't work in a multilingual environment - as the string is not tranlated. A calendar item must accept a null location.
> So far I know you can add in your database a null value.
> But this will have to be corrected
> sylvie

Thanks... I'll just upload everything and see what happens.