How can I remove the point displayed in front of the checkbox ? [Solved]

Hi, I have enabled the Facets module on my site. How can I remove the point displayed in front of the checkbox ?

https://ibb.co/XS4yQvv

facets-item-list.html.twig :

Setting a field value from a form_alter hook

I'm trying to set a hidden field value from a form_alter hook but all these options fail.

$form['campaign'] = 'test';
$form['campaign'][LANGUAGE_NONE][0]['value']['#value'] = 'test';
$form['campaign']['widget'][0]['value']['#value'] = 'test';
$form['campaign']['value']['#value'] = 'test';

This, however, works so the Hook is OK.
$form['#action'] = 'test';

I don't know what else to try and can't find anything on this forum different from the above.

Please help!

Upgrading package from beta-version to "stable" version

Hello,
I am at Dr 8.9.11 and got package "Upgrade Status 8.x-3.0-beta1" installed. I can see that v 3.0.0 is also available and compatible. How can I update to this version? When I try "composer require 'drupal/upgrade_status:^3.0-beta1" composer answers with "there is nothing to install or update". I suspect that the command is wrong for what I want. But - what's the correct command?
Thanks for your time...
H. S.

Drupal Configurations Updates move to other sites

I am having multiple sites (around 50+) with paragraphs module. Now i have one issue that all sites are different so we can use drupal configuration sync process directly. Some how i make / export all options which i need by using drupal console command (https://drupalconsole.com/docs/vn/commands/config-export-entity) now i have drupal configuration with all dependencies.

Sum in views

In a views, I have only one content type, with a field_import. In _views_pre_render I have entered this code to calculate the sum
              foreach ($ view-> result as & $ row) {
                $ Total + = $ row -> _ entity-> get ('field_import') -> value;
              }

CiviCRM

Hi there
Can anyone recommend the best place to find a CiviCRM developer? I have CiviCRM installed and need some tweaks but not sure where CiviCRM developers hang out.
Thanks
Paula

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x