Can I hide the "Event Information" on the Details page?

  • Deborah Petersen
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 2 weeks ago #157549 by Deborah Petersen
I would like to hide the Event Information that shows on the Event Details page. I thought there was a setting to do that but I can't find it. If there is a setting can someone point me to it?  Thanks!
Attachments:

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

More
2 years 2 weeks ago #157550 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Can I hide the "Event Information" on the Details page?
Hi Deborah

There is no setting like that, so you would need to modify code. Please take a look at the file components/com_eventbooking/themes/default/event/default.php and try to do the modification to remove the information you don't want there

For Event Information, it is in the line 201
Code:
echo EventbookingHelperHtml::loadCommonLayout('common/event_properties.php', $layoutData);

Maybe try to remove that line. Once the modification is done, you need to move that modified file to template override (PATH_TO_TEMPLATE/html/com_eventbooking/event folder) so that the change won't be lost when you update to future releases of the extension

Regards,

Tuan

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

  • Deborah Petersen
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 2 weeks ago - 2 years 2 weeks ago #157553 by Deborah Petersen
Replied by Deborah Petersen on topic Can I hide the "Event Information" on the Details page?
I ended up hiding the Group registration info and tweaking the translation for the Individual Price. I was hoping for an easier solution than tweaking the code. 

Thanks for your reply!
Attachments:
Last edit: 2 years 2 weeks ago by Deborah Petersen. Reason: Added attachment

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

More
2 years 2 weeks ago #157558 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Can I hide the "Event Information" on the Details page?
OK, great. We could not have everything configurable (as you can see, there are too many config options in the extension already), so sometime, you might have to customize code to have it works as you want

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc