1 (edited by Dirk 2024-07-19 23:50:12)

Topic: How to remove category

How can i remove item nr 3, "afspraak"?

Example

Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!

Re: How to remove category

Hi Dirk, Your item nr 3 (Afspraak) has ID nr 1, which means that this is the "No cat" category. The No Category category must always be present and should not be used for other purposes.
Roel

Re: How to remove category

If i log in (as registered user or admin) i can make double appointments.
A not logged in user can't.

Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!

Re: How to remove category

How does this relate to "How to remove category"?

Avoiding double appointments is done on the admin's Categories page.
Roel

Re: How to remove category

I can't change ID nr 1 and there is no option to change the gap (see example).

Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!

Re: How to remove category

This whole thread is unclear. Clearly state to purpose of your question. What are you trying to achieve?

IDs can't be changes; if an ID could be changed, it wouldn't be an ID.

7 (edited by Dirk 2024-07-22 13:01:41)

Re: How to remove category

When adding a new event there is a category list whit ID 1 (Afspraak).

In the list of categories there is no option (for ID 1) to checkmark to set the "overlap time", also no inputfield
where you can edit text for the overlap error.

See: My Calendar

I hope this is clear.

Dirk

Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!

Re: How to remove category

For me it's more clear now.

The problem is that you are misusing the No cat (No Category) category for a normal category (Afspraak). The category with ID = 1 is "no category", and it doesn't behave as a normal category.
I tried to log in to your calendar with the un and pw you've sent me yesterday, but it did not work.
You should rename the category with ID = 1 to "No cat" and create a new "real" category "Afspraak". See my first post in this thread!
Roel

PS. You have removed the link to LuxSoft in the right lower corner of the page. This is very sad sad

9 (edited by Dirk 2024-07-22 16:28:46)

Re: How to remove category

@Roel, replaced the LuxSoft link (sorry).

Changed ID = 1 to "No cat" and then while making a second appointment this error shows up (3 times):

Error

This is de code in event.php line 331

$maxDate = $_SESSION['evt']['r_u'][0] == '9' ? ($eDate[0] == '9' ? '0' : $eDate) : ($eDate[0] == '9' ? $_SESSION['evt']['r_u'] : max($_SESSION['evt']['r_u'],$eDate));
Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!

Re: How to remove category

I don't know what's happening.
Currently the events you have added to your calendar have no title!? This is normally not possible.
I cannot log into your calendar, so there isn't much I can do.

If you have made changes to the calendar code, I suggest to start with a fresh installation.

Re: How to remove category

Ok i think i understand whats happening.
The 'no cat' was the problem.

I don't understand why the 'no cat' is in the Category list.

Dirk

Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!

Re: How to remove category

Suppose your first category would be "Meeting" and you enter an event and forget to specify the category, it would become a "meeting". With No cat, in particularly when you give No cat a marked color, you can directly see for which events you forgot to specify a category.
Roel

Re: How to remove category

Ok I get the idea. But why doesn't the 'no cat' category have an option to set an overlap?

Dirk

Gras groeit niet sneller door er aan te trekken !
Grass does not grow faster by pulling it!