migaki
  migaki
Gold Member
  Thursday, 19 May 2022
  8 Replies
  840 Visits
0
Votes
Undo
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
2 years ago
·
#226253
0
Votes
Undo
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?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#226254
0
Votes
Undo
Yes this could be a solution, not OR but and AND relation
2 years ago
·
#226256
0
Votes
Undo
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" ??

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#226261
0
Votes
Undo
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
·
#226264
0
Votes
Undo
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.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#226268
0
Votes
Undo
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
·
#226284
0
Votes
Undo
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.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#226351
0
Votes
Undo
-
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.