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

TOPIC: [SOLVED] Style Date On Listing Page

[SOLVED] Style Date On Listing Page 2 years 9 months ago #23008

  • MyWorld
  • MyWorld's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 68
  • Thank you received: 3
I'm using Joomla 3.6.4 and JEM 3.0.7. The date on the listing page looks jumbled. I would like to separate the Date from the time.

It current display like this:
Dec 21, 2016, 10:00
AM - 02:00 PM

How can I get it to display like this:
Dec 21, 2016
10:00 AM - 02:00 PM

It would be nice if that could be changed via CSS.

Thank in advance

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

[SOLVED] Style Date On Listing Page 2 years 9 months ago #23009

  • jojo12
  • jojo12's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 3074
  • Karma: 45
  • Thank you received: 322
Hi, as you should know: JEM 3.0.7 is out. JEM 2. 2.X supports Joomla 3.6.4 and smaller. With that y<ou haave much more possibilities. (JEM 3.0.7 was always only for testing. We had to decide to finish this branch. Sorry..
Please look fo ozther posts in this forum*
5.5.5-10.0.30-MariaDB-0+deb8u1
PHP 7.2.9 on different sites
Apache
JEM 2.3.0dev 2.0M and specials with Joomla! 3.9.3 stable on livesites
ja_simply, ja_purity_iii, multilingual DE EN IT FR

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

[SOLVED] Style Date On Listing Page 2 years 8 months ago #23010

  • MyWorld
  • MyWorld's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 68
  • Thank you received: 3
Thank you. Not sure how I got that one :(

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

[SOLVED] Style Date On Listing Page 2 years 8 months ago #23011

  • MyWorld
  • MyWorld's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 68
  • Thank you received: 3
I'm using the JEM > Simplelist menu view. I'm trying to override the listings and the event page. I copied from here:

/components/com_jem/views/event/tmpl/default.php AND
/components/com_jem/views/eventslist/tmpl/default.php

And put here:

/templates/.../html/com_jem/com_jem/event/default.php
/templates/.../html/com_jem/com_jem/eventslist/default.php

But I'm not finding the below in the files at all. Did I copy the wrong files?

jem_date-1
jem_time-1
jem_title

etc...

Thanks!

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

[SOLVED] Style Date On Listing Page 2 years 8 months ago #23013

  • jojo12
  • jojo12's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 3074
  • Karma: 45
  • Thank you received: 322
The listing for simplelist (and others) is in /common.
copy
/httpdocs/components/com_jem/common/views/tmpl/default_events_table.php
to
/httpdocs/templates/YOUR_TEMPLATE/html/com_jem/common/default_events_table.php.
5.5.5-10.0.30-MariaDB-0+deb8u1
PHP 7.2.9 on different sites
Apache
JEM 2.3.0dev 2.0M and specials with Joomla! 3.9.3 stable on livesites
ja_simply, ja_purity_iii, multilingual DE EN IT FR

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

Last edit: by jojo12.

[SOLVED] Style Date On Listing Page 2 years 8 months ago #23014

  • MyWorld
  • MyWorld's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 68
  • Thank you received: 3
Thank you very much.

Do you know how I can remove the comma in the attached? I want the date on the 2nd line but there is a comma in front of it.

Thanks!!
Attachments:

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

  • Page:
  • 1
  • 2
Time to create page: 0.214 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.