By migaki on Thursday, 19 May 2022
Replies 8
Likes 0
Views 845
Votes 0
Hello all, perhaps someone has a good idea how I can fix my issue.

I use an external tool to administrate calendars. With batch und hourly import to Joomla the events will be updated. Events have one or more categories. The categories are visible in database. Import works fine.

To generalize the issue I describe it with Category A, B and C

In Joomla-Menü there are Menue-Items to show Cat A, a second one with Cat B, and third with Cat C records.

But sometime the CatA and CatB are in relation. So I want to filter such records for the view where Cat A + Cat B are set.

At the moment I can add CAT A and CAT B to the Filter, but than I got result from addition A + B. How I could filter to such records where both Categories are set?

Hope it is understandable.

Best regards
Michael
You mean to ONLY show events that are in BOTH category B AND category A and not the ones in only one OR other of these categories?
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes this could be a solution, not OR but and AND relation
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
This could be done via a custom JEvents plugin.

I'm wondering if there is another solution that is easier - is Cat A a child of Cat B in some way e.g. Cat A = "Tennis", Cat B = "Women's Tennis" ??
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I think this solution not works for me. Here is a real example for some records I import per batch and ICS-File:

CATEGORIES:Kirche St. Theresia v. Avila,Gottesdienst - Eucharistiefeier (Hl. Messe)
CATEGORIES:Gemeinde St. Michael,Gottesdienst - Eucharistiefeier (Hl. Messe)
CATEGORIES:Gemeinde St. Mariä Himmelfahrt,Gottesdienst - Eucharistiefeier (Hl. Messe)
CATEGORIES:Gemeinde St. Michael,Gottesdienst - Wortgottesfeier
CATEGORIES:Trauerbegleitung,Gemeinde Überregional,Kein besonderes Formular

They are from 5 records. You see here at first the location of the event as category. The second category (behind ",") is the
Content of event. Last event with 3 categories.

The content of the 4 events could be the same. So I need a calendar-view which combine (by AND) the two categories.
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Do you have control over the data source? Why not use the LOCATION field in the iCal specification? See https://datatracker.ietf.org/doc/html/rfc5545#page-88

The JEvents managed locations addon would allow you to include maps, venue pages, filtering based on location, upcoming events by location etc.
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Good point. I got the location information with events. But therefore I need a silver license. Correct?
With this it is possible to filter also for one or more locations?
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes - that is correct. You can configure menu item to show events from one or more selected venues/locations. Also when you view a location detail page it can show you upcoming events at that location etc.
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
-
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post