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


Replace Time on Eventlist 1 year 8 months ago #25823

  • jose45
  • jose45's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 47
  • Karma: 1
  • Thank you received: 6
i have to seperate Date & Time-Info:

echo JemOutput::formatShortDateTime($row->dates, NULL,$row->enddates, NULL, $this->jemsettings->showtime);
echo JemOutput::formatSchemaOrgDateTime($row->dates, NULL,$row->enddates, NULL);

echo JemOutput::formatShortDateTime(NULL, $row->times,NULL, $row->endtimes, $this->jemsettings->showtime);
echo JemOutput::formatSchemaOrgDateTime(NULL, $row->times,NULL, $row->endtimes);

the time-part with NULL on the first place brings a unnecessary info ("still open"). Where can I turn it off?

thx, j.

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

Replace Time on Eventlist 1 year 6 months ago #26147

Are you looking for the definition of those functions? - if yes they are in this file
In function formatDateTime() there is else clause around line 1195 that unconditionally adds text to output if your date is NULL
$output .= '<span class="jem_date-1">'.JText::_('COM_JEM_OPEN_DATE').'</span>';
If you simply want to override "Open Date" text, the text constant COM_JEM_OPEN_DATE can be found in relevant language folder\file in this folder

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

  • Page:
  • 1
Time to create page: 0.160 seconds


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......