How do I make the current user's entities on the home page ?

I am using the following code in the templates of the home page of my site, to make the display mode frontpage_tasks for the current user's account. It works perfectly :

{{ drupal_entity('user', user.id, 'frontpage_tasks') }}

I want to make the same display mode for the current user's stores and groups. I tried the code below but it doesn't work :

{{ drupal_entity('commerce_store', user.id, 'frontpage_tasks') }}

and

where are page.navigation and page.footer set?

I am trying to change style on the site branding and links in the footer. But when I look in page.html.twig it sees {{ page.navigation }} and {{ page.footer }} only.

Where are these set? Search inside the theme files did not find.

Thanks.

Siteimprove & FFW Enhanced Drupal Module

module on macbook laptop screen

A new Drupal enhanced module offers a simplified experience leveraging their website optimization insights right into the Drupal content editing environment.

Sectors: 
Banking and Financial
Education
Enterprise
Government
Non-profit
Small business
Technology

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.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x