Hide on Export For Front-end Only?

  • Brian F
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 4 months ago #89825 by Brian F
Hide on Export For Front-end Only? was created by Brian F
Hi. Great addition with the custom field Hide on Export, I've been customizing the data.php when needed over the years, this is much easier now :) Our client has asked to hide the registrant's email and address columns for the front-end only exports, but still keep them when exporting from within the admin. Is possible to have a "Hide on Front-end Only" option as well? Or maybe and adjustment I can make to the "components/com_eventbooking/helper/data.php" file?

Thank you!

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 4 months ago #89842 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide on Export For Front-end Only?
Hi Brian

Honestly, there is no reason for me to introduce a new setting like that as I believe most customers won't need it. So for now, you would have to modify code in components/com_eventbooking/helper/data.php (it is not hard)

Remember to use override mechanism eventbookingdoc.joomservices.com/develop...stomization-override so that the change won't be lost when you update to future releases of the extension

Tuan

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

  • Brian F
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 4 months ago #89858 by Brian F
Replied by Brian F on topic Hide on Export For Front-end Only?
Tuan, makes sense! I'll play around with the override and get that worked up.

Thanks.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 4 months ago #89859 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide on Export For Front-end Only?
Great :)

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

Moderators: Tuan Pham Ngoc