I've created a custom view and restricted the block to display only on the <front> page of my domain.com, but the problem with this method is that the block also displays on all pagination pages too. eg domain.com/?page=1 etc.
I am working on ajax view where i need to add some condition but only when no filter is select. how can i fetch expose filters fields values in ajax filter in _views_pre_build hook.
or how can i check that view is load normally or its load from exposed filter data.
I have a serious problem. My Drupal project is configured on IIS 7.5 on Windows Server (customer requirement and not mine!!!!!). While passing the security tests the report told us that some Core js files can be accessed from the outside. Through the ISS I tried to block configuring the folder and file permissions but was unsuccessful. Has anyone experienced a similar problem?
I have latest Drupal 8.9.17 as of today and trying to install the Libraries API module https://www.drupal.org/project/libraries which is said to be needed for Juicebox module.
In a content type I have various fields including a date field and a time field. Both call their respective callBack.
The problem arises when I try to write the Date via the keyboard and not via the widget. Every time I type a key the callBack is invoked and it's boring
This is the code
$form['field_data']['widget'][0]['value']['#ajax'] = [
'event' => 'change',
'disable-refocus' => FALSE,
'callback' => 'CBDataMiss',