Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

showing different date format, and showing ALL events 5 years 1 week ago #25330

hi Everybody,
i have problems with some jem modules, especially the JEM - Module-Banner
drives me crazy, but others too...
the module shows the date of the events only in this format:
"from.....until..." or
Until 29.11.18
i would like to show it
with the real date:
29.09.2018
or
21.09.2018-28.09.2018
(even if it already began, i would like the past date to be shown )#

another question,which concerns other jem modules is: in the backend i can only choose one from these:
unfinished events,upcoming events, today´s events,archived events....
but i would like to show ALL events in my modules

i hope someone can help me, i would be very grateful
thanks in advance.

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

Last edit: by transcendent.

showing different date format, and showing ALL events 5 years 1 week ago #25333

Hey,
first problem: Go to <JoomlaRoot>//modules/mod_jem_banner/tmpl/defaultphp on line 130 and change $item->date to $item->dateinfo this produces the full date as you want. If you use JEM-Responsive go to <Joomlaroot>/templates/<yourtemplate>/html/mod_jem_banner/default.php on line 163 and 170 and change the same text.

second question:
all your events in future are shown using unfinished events. For me there is no reason to show archived events in a module... But you are right, archived and current events can not be shown at the same time.
The following user(s) said Thank You: transcendent

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

showing different date format, and showing ALL events 5 years 1 week ago #25341

i changed it but nothing happened :(

but then i played around and changed it in line 117:
<?php echo $item->dateinfo; ?>

and it works great ! Thank you !

the other problem which concerns showing all events; i guess i have to make another seperate module, with only "archived events"...

thank you very much !

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

Last edit: by transcendent. Reason: grammar wrong
  • Page:
  • 1
Time to create page: 0.260 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......