Cut-off Date Table Row Hide

  • Lorenzo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago - 11 years 1 month ago #57807 by Lorenzo
Cut-off Date Table Row Hide was created by Lorenzo
Hi Tuan

Is it possible to hide the cut-off date without affecting the table styling, so users cannot see it? I think it is the key, EB_CUT_OFF_DATE and I have attached a picture to explain myself.

Best regards,

Lorenzo
Last edit: 11 years 1 month ago by Lorenzo.

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

More
11 years 1 month ago #57830 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Cut-off Date Table Row Hide
Hi

You will need to edit the code to remove the cut off date row (it is not hard). Look at the two files:

components/com_eventbooking/views/common/events_default.php
components/com_eventbooking/views/event/tmpl/default.php

You will see the code for that row and can change it to meet your need

Tuan

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

  • Lorenzo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #57962 by Lorenzo
Replied by Lorenzo on topic Cut-off Date Table Row Hide
Hi Tuan

Thank you for your fast reply.

Best regards,

Lorenzo

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

More
8 years 6 months ago #104015 by OTWD
Replied by OTWD on topic Cut-off Date Table Row Hide
This is now done in V3 using

/components/com_eventbooking/view/common/tmpl/event_properties.php

Unfortunately template override doesnt work

Success consists of going from failure to failure without loss of enthusiasm.

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

More
8 years 6 months ago #104024 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Cut-off Date Table Row Hide
Hi

Template override does work. You just need to do the modification, just copy the file to PATH_TO_TEMPLATE/html/com_eventbookking/common folder and it will work OK

Tuan

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

More
8 years 6 months ago #104036 by OTWD
Replied by OTWD on topic Cut-off Date Table Row Hide
Thanks for the update Tuan - that works I had included "view" in the override path - as stated in the docs
eventbookingdoc.joomservices.com/develop...thod-in-a-view-class

/PATH_TO_TEMPLATE/com_eventbooking/view/common/event_properties.php DOESNT WORK

/PATH_TO_TEMPLATE/com_eventbooking/common/event_properties.php WORKS

Success consists of going from failure to failure without loss of enthusiasm.

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

More
8 years 6 months ago #104062 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Cut-off Date Table Row Hide
Hi

That part of document is for overriding a PHP class (which is something Joomla core doesn't support)

For the layout file like the one you are trying to modify, it is a template file, so it follows Joomla template override, see docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core for detailed explation

The related documentation for override layout in documentation is eventbookingdoc.joomservices.com/develop...ion/customize-layout

Hope it is clear to you now

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc