Filterable Custom Fields Frontend

  • Martijn Hartong
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 6 months ago #153950 by Martijn Hartong
Filterable Custom Fields Frontend was created by Martijn Hartong
For some reason I cannot get the Custom Field Filter displayed on the frontend registrations view like the backend. The model seems to extend, but the same filters method does not work nor show on the frontend. Is this possible with custom override?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
1 year 6 months ago #153962 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Filterable Custom Fields Frontend
You can try to add this code below to one of the following files to see if it works:

components/com_eventbooking/themes/default/registrants/default_search_bar.bootstrap4.php
components/com_eventbooking/themes/default/registrants/default_search_bar.php
Code:
foreach ($this->filters as $filter) { echo $filter; }

Regards,

Tuan

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

  • Martijn Hartong
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 6 months ago #153970 by Martijn Hartong
Replied by Martijn Hartong on topic Filterable Custom Fields Frontend
I did try that code already with the hasFilterFields variable, but still the filters are not found. Seems like something else is needed to get the custom field filters to work on the frontend. Any idea where to look?

Thanks,

Martijn

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
1 year 6 months ago #153979 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Filterable Custom Fields Frontend
Maybe you can submit a support ticket sending me super admin account of your site and link to registrants management page. I will take a look at it to see why it is not working and get it sorted for you

Regards,

Tuan

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