Open date instead of fixed registration date

  • George
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 weeks ago #132724 by George
Is it possible to have an open date in the future without setting the exact date/time and place of the event?
If yes, how?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 years 3 weeks ago #132725 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Open date instead of fixed registration date
Yes. Just set Event Date to this special date 2030-12-31 00:00:00

Tuan

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

  • George
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 weeks ago #132727 by George
Thank you for the fast answer.
This only makes the event to have that exact date:
www.impressme.gr/el/ekdilwseis/eisagwgi-sta-synaisthimata

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 years 3 weeks ago #132729 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Open date instead of fixed registration date
Look like it happens because you customized the code of the event details page. Please compare it with the code from default package and apply the same change, it should be OK

The original code for displaying event date is:
Code:
<?php if ($item->event_date == EB_TBC_DATE) { echo JText::_('EB_TBC'); } else { if (strpos($item->event_date, '00:00:00') !== false) { $dateFormat = $config->date_format; } else { $dateFormat = $config->event_date_format; } echo JHtml::_('date', $item->event_date, $dateFormat, null); } ?>

Check and correct your customized code, it should be OK

Tuan

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

  • George
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 weeks ago #132730 by George
Where is this file? We only moved the positions around via joomlas templating system.
We renamed the com_eventsbooking inside the template and we still have the issue.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 years 3 weeks ago #132731 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Open date instead of fixed registration date
By default, it's components/com_eventbooking/themes/default/common/event_properties.php . But the layout you are using looks different with layout of the extension, so there must be customization somewhere

You can submit a support ticket sending us super admin account of your site so that we can help checking it further

Tuan

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

  • George
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 weeks ago #132732 by George
Just for anyone else looking for this:
The correct special date is 2099-12-31

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 years 3 weeks ago #132733 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Open date instead of fixed registration date
Ah, Yes. 2099-12-31 is correct date. However, some server could not handle that large date, and in case it is not working for you, use 2030-12-31 00:00:00

Tuan

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

Moderators: Tuan Pham Ngoc