Welcome, Guest
Username: Password: Remember me

TOPIC: eventlist with only upcoming events

eventlist with only upcoming events 8 months 1 week ago #25959

  • jojo12
  • jojo12's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 3118
  • Karma: 45
  • Thank you received: 333
You choose "alte events archivieren and choose 1 day.
Normally the events are archived at the end of the day. You can use "wartung "to archive quicker.
Testing JEM 2.3.0 beta3 local on clean latest Joomla (3.9.11) Protostar php7.3.8 (no mails)
The following user(s) said Thank You: Kurtus

Please Log in or Create an account to join the conversation.

eventlist with only upcoming events 8 months 1 week ago #25963

  • Kurtus
  • Kurtus's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 4
Choosing 1 day in "Umgang mit abgelaufenen Veranstaltungen" - "Löschen nach Anzahl Tagen" solved my problem.
I thought if I choose 1 day, the events are delted completely.

Thank you all for your help!

Kurt

Please Log in or Create an account to join the conversation.

eventlist with only upcoming events 8 months 1 week ago #25971

  • hekla
  • hekla's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 148
  • Karma: 8
  • Thank you received: 75
I suggest a correction in the German translation, since the labels and tooltips are somehow unclear. I guess that was one reason of the problem.
Old version:
COM_JEM_EVENT_HANDLING="Umgang mit abgelaufenen Veranstaltungen"
COM_JEM_OLD_EVENTS_DESC="Alte Events automatisch in Papierkorb, löschen oder archvieren."
COM_JEM_OLD_EVENTS="Alte Veranstaltungen"
COM_JEM_DO_NOTHING="Nichts tun"
COM_JEM_DELETE_OLD_EVENTS="Alte Veranstaltungen löschen"
COM_JEM_ARCHIVE_OLD_EVENTS="Alte Veranstaltungen archivieren"
COM_JEM_TRASH_OLD_EVENTS="Alte Veranstaltungen in den Papierkorb"
COM_JEM_OLD_EVENTS_WARN="- überfällig-"
COM_JEM_NUMBER_DELETE_DAYS_DESC="Nach wieviel Tagen soll erst gelöscht oder archiviert werden. Das wirkt nicht, wenn die obere Option deaktiviert ist."
COM_JEM_NUMBER_DELETE_DAYS="Löschen nach Anzahl Tagen"

New version:
COM_JEM_EVENT_HANDLING="Umgang mit vergangenen Veranstaltungen"
COM_JEM_OLD_EVENTS_DESC="Vergangene Veranstaltungen automatisch archvieren, in Papierkorb verschieben oder löschen."
COM_JEM_OLD_EVENTS="Vergangene Veranstaltungen"
COM_JEM_DO_NOTHING="lassen und nichts tun"
COM_JEM_DELETE_OLD_EVENTS="löschen"
COM_JEM_ARCHIVE_OLD_EVENTS="archivieren"
COM_JEM_TRASH_OLD_EVENTS="in den Papierkorb verschieben"
COM_JEM_OLD_EVENTS_WARN="- überfällig-"
COM_JEM_NUMBER_DELETE_DAYS_DESC="Anzahl Tage nach Ablauf der Veranstaltungen, wann die oben gewählte Aktion ausgeführt wird."
COM_JEM_NUMBER_DELETE_DAYS="Aktion nach Anzahl Tagen"
JEM 2.2.3 / JEM 2.2.3 with core mods (custom fields) / 2.3dev (Egnarts Version)
Joomla always up to date
php 7.2/7.3
The following user(s) said Thank You: Kurtus

Please Log in or Create an account to join the conversation.

eventlist with only upcoming events 8 months 1 week ago #25974

  • hekla
  • hekla's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 148
  • Karma: 8
  • Thank you received: 75
I added the suggestions to the German language file in transifex
JEM 2.2.3 / JEM 2.2.3 with core mods (custom fields) / 2.3dev (Egnarts Version)
Joomla always up to date
php 7.2/7.3
The following user(s) said Thank You: Kurtus

Please Log in or Create an account to join the conversation.

eventlist with only upcoming events 8 months 1 week ago #26001

Alternative implementation (in case you don't want to archive) would be to extend eventlist view to allow selection of new option Only Future, in addition to the existing No, Open Dates Too, Open Dates Only for Show open dates option selector. Will require a simple change to view, model and language file.

/administrator/components/com_jem/language/en-GB/en-GB.com_jem.ini
+COM_JEM_SHOW_FUTUREDATES_ONLY="Future, Only"
/components/com_jem/models/eventslist.php
+		case 3: // show only future events, with startdate >= today
+			$query->where('a.dates >= '. $db->quote(date("Y-m-d")));
+			break;

/components/com_jem/views/eventslist/tmpl/default.xml
+				<option value="3">COM_JEM_SHOW_FUTUREDATES_ONLY</option>
The following user(s) said Thank You: Kurtus

Please Log in or Create an account to join the conversation.

eventlist with only upcoming events 8 months 21 hours ago #26017

  • Kurtus
  • Kurtus's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 4
Thank you depebo, I will try this.

But now I have a question.
How can I open the trash (Papierkorb) in JEM to find my deleted events again and to recover them?

Please Log in or Create an account to join the conversation.

Last edit: by Kurtus.
Time to create page: 0.195 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......