How to count the number of class on my page and display it in a menu counter ?

I have a site that I created with Drupal 8.

I have a page with a list of tasks like below :

https://i.stack.imgur.com/I49TU.png

- The tasks of color "Red" have the class task-list-danger

- The tasks of color "Orange" have the class task-list-warning

Upgrading Bartik theme from D8 to D9

I recently upgraded a D8 site to D9 using Composer. However, I have since come across an issue when I use the site's existing Bartik theme. I have since found out that in D9, Bartik no longer extends Classy as its' base theme. 

Q: For existing D8 sites that have a customised v8 Bartik theme that use Classy, how can a v8 Bartik theme be successfully transitioned to v9 (as part of the D8 -> D9 upgrade process) when Classy no longer extends? Doing a clean install of Drupal 9, there is no problems using the core Bartik theme that comes as part of the install. 

- Tom

Modify body markup for display only

I am porting a D7 module that i want to release for D8. 

The module injects a block that you can select into the body. The problem i have is that i achived to manipulate the body field and save it, BUT it is really saved to the DB not only for the display. That is very bad as i only want the injection to be happen at display withoput changing the original body content.

Fitness First - Middle East

Decoupled Multisite Functionality

Fitness First (FFME) is the largest chain of fitness and lifestyle clubs in the Middle East with over 60 clubs across 51 locations and a community of over 70,000 members.

FFME has established itself as an innovative brand that continues to attract and appeal to a diverse audience of healthy lifestyle enthusiasts - and they realized that their digital experience must match their brand’s perception.

Sectors: 
Beauty and Fashion
Community
Enterprise
Healthcare
Sports

Error Installing a Drupal 8 Theme

Hello There,

I am trying to install a premium D8 theme whose developer does not give support anymore. I uploaded the demo theme files in Public-html. I exported the DB into PHPMyadmin. But when I go to settings.php file to add the db details, it does not show the theme at all. I have tried it several times. But I am not sure what mistake I am making. Could anyone please let me know what should I be doing to properly install the theme?

The address of the site is as follows.

https://aliyana31.sg-host.com/

Task error, site doesn't load

Since friday evening I have the problem, that a site does not load anymore.  Every browser I does gives a task error. I'm talking about the login page. Friday evening I had to make a restart of my pc, cause the pc doesb't not react anymore. Ths icame from chrome with the drupal site. 

The only thing I remember I did to change font awesome to svg and something with repsonsive, I cant remember. There were some probs with font awsome, so I tried to figure out.

So, how can I fix this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x