CP Search Module Results page JQuery/Pagination

More
6 years 11 months ago #2637 by andrea_4g
Replied by andrea_4g on topic CP Search Module Results page JQuery/Pagination
I think I found the root cause of the issue.

CP Search module search-by-date relies on standard Joomla calendar form fields.
( docs.joomla.org/Calendar_form_field_type )

In turns, the calendar field uses mootools JS libray.

It also appear that here are issues with the calendar in the latest version of Joomla.

Calendar field is not working after update to Joomla 3.8.1
github.com/joomla/joomla-cms/issues/18291


Your site - or at least the page that contains the CP Search module - does not load mootools, hence the calendar does not work.

If you disabled mootools you should re-enable it.

If that does not work, you can try to force the CP Search Module to load the mootools library.
You need to make a small modification to file: modules/mod_cpsearch/tmpl/default_daterange.php

Add the following code at line 13:
Code:
JHtml::_('behavior.framework');
Save

Then reload the page and check if the calendar is working within CP Search module.
The following user(s) said Thank You: cameroncoop

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

  • cameroncoop
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 11 months ago #2638 by cameroncoop
Replied by cameroncoop on topic CP Search Module Results page JQuery/Pagination
Thank you! The inclusion at line 13 worked like a charm. Thanks for your diligent support! You can mark this item as resolved and closed. Many many thanks.

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

More
6 years 11 months ago #2639 by andrea_4g
Replied by andrea_4g on topic CP Search Module Results page JQuery/Pagination
Thank you too, you for your cooperation.

The modification will be part of the next version of Custom Properties.

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

Time to create page: 0.164 seconds