EventbookingHelperData::excelExport cannot be overriden

  • ci-zeto
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 4 months ago #129838 by ci-zeto
Tried to attach code related here, but cannot, because each time i get Access denied error. Attaching php extension is impossible here so i tried attach txt file with php code - Submit button becoming disabled...

I just made file in components/com_eventbooking/helper/override/data.php, made
Code:
class EventbookingHelperOverrideData extends EventbookingHelperData
, copied method
Code:
excelExport public static function excelExport($fields, $rows, $filename, $headers = array())
, added
Code:
exit
; line at the beginning of method, but file keep exporting. When I use
Code:
exit
on original method excelExport blank page appears.

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

More
4 years 4 months ago #129858 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EventbookingHelperData::excelExport cannot be overriden
Hello

I just tried and it worked well. So it must be something special on your site causing the error

You can try to get this attached file, unzip it, upload to components/com_eventbooking/helper/override folder on your site for testing purpose

Regards,

Tuan
Attachments:

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

Moderators: Tuan Pham Ngoc