How to rotate an icon with CSS ?

In the menu at the top left of my site, I have accordion menu.

I want to rotate the "+" icon when the accordion is open.

In the green buttons, at the top of the menu, I want to make a roration of the "^" icon when the accordion is open.

The rotation works, but the icons do the rotation, even though I didn't click on the accordion.

Why is it not working properly ? What is wrong with my CSS ?

https://dev.s1biose.com/fr

Fields and content types

Hi,

I'm building a site with lots of content and lots of fields.

I thought of creating a single type of content to simplify management and play with the display to manage the many fields. But these fields will be very numerous (70, 80). So then I thought about creating multiple types of content, but found that around 10 to 15 fields were common.

What is the way forward?

Opt for a single type of content, or several types of content with common fields?

Thanks in advance

Is it possible to do Drupal Development without a local development environment?

I am used to having Virtualbox and linux running on my local to do development work. My new client has a migration project for me to do but they do not allow any local development tools like xamp, dev desktop, Vagrant, Virtualbox. They are a government client and they want us to use their laptops and work on their network in their office. They are not very tech savvy They also do not want to use Git. The client asked that I do all the work on their staging redhat server then clone it to the production server. Their project is to turn 2 static html websites into Drupal CMS.

How to incorporate GDPR

Hello,

I am building a site for a UK client.  I will have to incorporate GDPR to the site for the first time.

Is this the module to use?

https://www.drupal.org/project/eu_cookie_compliance

Some clarification of the process would help.

Thank you!

callBack Ajax

I have a boolean field to update through a callBack (called from another field) but it doesn't work. The text and numeric fields work but the Boolean field does not
This is the code in form_alter

          $form['field_richiedente']['widget']['#ajax'] = [
            'event'           => 'change',
            'disable-refocus' => FALSE,
            'callback'        => 'CBRich',
          ];

#id of the boolean field
$form['field_sede']['widget']['value']['#attributes'] = ['id' => ['vis-sede']];

callback code

I cannot add products to be shown on homepage

Hi, Im a newbie for drupal.

Im having a hard time to add prroducts to be shown on my homepage.

Where should i go to edit panels, views or structure for my homepage?

Any tutorial for that ? Thanks in advance.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x