CP Search Module Results page JQuery/Pagination

Di più
6 Anni 11 Mesi fa #2637 da andrea_4g
Risposta da andrea_4g al 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.
I seguenti utenti hanno detto grazie : cameroncoop

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • cameroncoop
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
6 Anni 11 Mesi fa #2638 da cameroncoop
Risposta da cameroncoop al 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.

Si prega Accesso o Crea un account a partecipare alla conversazione.

Di più
6 Anni 11 Mesi fa #2639 da andrea_4g
Risposta da andrea_4g al 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.

Si prega Accesso o Crea un account a partecipare alla conversazione.

Tempo creazione pagina: 0.163 secondi