How to use Views & leaflet to create a map of many locations in drupal 8

I need to create a view with leaflet for displaying various places from differents content type.

My first content is "school" with one address/geolocalisation field

My second content type "shops" has the same field with one entity reference for targeting  a "school"

It means that on one map, I need to display a school with all the shops referenced with this school

Can you help ?

Regards,

Is <mymenu>.links.menu.yml ignored during theme install?

Just a curiosity, I've got a D8 sub theme that I'd like to control some specific content for. Part of that content is 3 links on the main menu that are only relevant if this theme is used. I thought maybe the theme install worked similar to the module install and process a .links.menu.yml file if one existed in the theme. 

Anyway, curious if this is supported or not and if it is, what I may be doing wrong. Thanks

Drupal 8 on Acquia DevDesktop 2 is running very slow

Hey y'all my site is running really slow

  • Windows 10 64 bit
  • Acquia Dev Desktop 2
  • PHP 7.1

Heres a screenshot

Some times the database has over 680 queries for some reason. However the milliseconds is less than a 100 .

TTFB is 2800ms, Data download is 5300 ms and DOM build is 315 ms

https://imgur.com/a/hRpx8EZ

Any help is appreciated. Working on this is very slow!

Error:500 - [proxy_fcgi:error] [pid 1275:tid 140045990160128] Premature end of script headers: index.php

While Editing the content it's showing the below error.

This page isn’t working

local.xxxxxx.com is currently unable to handle this request.

HTTP ERROR 500.

 When i check in dblog, is not generated any log relating this issue. Then i checked in apache2 log i got somthing error like below.

Compulsory field (Field A or B)

Hi,

I have 2 fields, field A and B, how shall I make it either one compulsory (user has to either fill out field A or B or both)?

Thank you.

Core Content Moderation display form no longer rendering after upgrading site from 8.3.7 to 8.5.2

I'm having an issue with the core Worflows and Content Moderation modules after upgrading my site from 8.3.7 to 8.5.2. 

The moderation form is not being rendered at all when viewing any of my entities. The moderation state fields appear fine in the form view, and new records are successfully added on save. I've tried reinstalling the modules, but have no luck.

I have applied my workflow to the correct content types, and am logged in as a system administrator, so have all the correct permissions.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x