How to style custom fields

  • Eoin Feeney
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 3 months ago #120936 by Eoin Feeney
How to style custom fields was created by Eoin Feeney
I see the that custom field in my layout but I can't work out how to override it. I think it must be in event_properties.php but I can't find the place I need to do the override.

Can you give me a pointer please?

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

More
5 years 3 months ago #120943 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to style custom fields
Hello

You are saying about Event's Custom Fields? If so, the field event_properties.php is exactly the file you need to modify. The code for rendering these custom fields are from line 321 to 346, not sure how you want to customize it?

Tuan
The following user(s) said Thank You: Eoin Feeney

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

  • Eoin Feeney
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 3 months ago #120980 by Eoin Feeney
Replied by Eoin Feeney on topic How to style custom fields
Got ya, thank you! Great support as always. I'll show you once the site goes live, hopefully this week :)

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

More
5 years 3 months ago #120998 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to style custom fields
OK, great. Once the modification is done, you should move it to PATH_TO_TEMPLATE/html/com_eventbooking/common 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.

More
5 years 2 months ago #121657 by Christopher Meyers
Replied by Christopher Meyers on topic How to style custom fields
I'm looking everywhere for event_properties.php, but can't find it.

Can you point me to the correct folder where it resides?

thanks,

Chris

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

More
5 years 2 months ago #121664 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to style custom fields
Hi Chris

In latest version, it's in components/com_eventbooking/themes/default/common folder

If you are using old version, it would be in components/com_eventbooking/view/common folder

Regards

Tuan

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

  • Eoin Feeney
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 2 months ago #121711 by Eoin Feeney
Replied by Eoin Feeney on topic How to style custom fields
Don't forget to ensure you create it as an override so any component updates don't override your changes

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