🇷🇸Serbia @ivanilic

Account created on 11 February 2012, almost 13 years ago
#

Recent comments

🇷🇸Serbia ivanilic

Yes, upgrading to 2.1.3 solved the issue. Thanks

🇷🇸Serbia ivanilic

I assume this is related to my question but not sure is there any other approach/suggestion. Thanks

https://www.drupal.org/project/inline_entity_form/issues/3002175 Custom blocks created in inline forms should not be reusable Needs work

🇷🇸Serbia ivanilic

Just a quick update on this:

Solution is proposed here but there is no patch for 10.2 yet:
https://www.drupal.org/project/drupal/issues/1956134 📌 Provide helpful editing links on "admin/structure/block" for deriver blocks (menu, views, block content, etc.) Needs review

🇷🇸Serbia ivanilic

I'm having some issues while trying to reproduce it on D11 (they are already raised and concern php 8.3, nothing to do with this issue).
Anyway, I managed to add block in D11 and seems like it's fixed there. I have contextual links on the page for inline blocks and with even with revisions, after saving the block, I was able to see contextual links.

🇷🇸Serbia ivanilic

HI @Panchuk, thanks for your time spending on this.
I noticed this issue before and applied the patch. It's not working well because if you turn on revision and save the block - contextual links are gone again. I raise it on that issue too.
It's strange to me that this isn't fixed yet since the layout builder functionality is here for some time and I think it's relatively important to have contextual links on the page for inline blocks from the site builder/editor perspective.

🇷🇸Serbia ivanilic

@petar.gnjidic
this patch from #96 only works if you don't have revision. Moment you check revision checkbox on the block and save it - contextual links are gone again.
Could you try to reproduce it?
Thanks

🇷🇸Serbia ivanilic

Hi
if I understood correctly, this would give me option to edit custom blocks in layout builder (option in contextual/operational links in layout builder for editing blocks imported from custom block library/block_content module).
Is there any patch for 10.2 planned?
I tested patch from #207 but there is no option for editing custom blocks in layout builder.

Thanks!

🇷🇸Serbia ivanilic

Hi
if I understood correctly, this would give me option to edit custom blocks in layout builder (option in contextual/operational links in layout builder for editing blocks imported from custom block library/block_content module).
Is there any patch for 10.2 planned?
I tested patch from #207 but there is no option for editing custom blocks in layout builder.

Thanks!

🇷🇸Serbia ivanilic

Hi @itamair, you can change the status of the issue to "fixed". Everything works fine with the approach you suggested.
Thanks again for your support.

🇷🇸Serbia ivanilic

Thanks, I figured it out in the meantime while I was reading your post on:
https://www.drupal.org/project/geofield_map/issues/3084759 📌 Implementation of Replacement Patterns (tokens) to Path Geometries Options in Geofield Map Formatter & Geofield Map View Fixed

🇷🇸Serbia ivanilic

Hi @itamair
I've been trying to figure out how did you create that additional field "Geometry attributes" from the first image:
https://www.drupal.org/files/issues/2023-04-07/Screenshot%202023-04-07%2...

Could you please explain how to replicate it,
thanks!

🇷🇸Serbia ivanilic

Hi @itamair thanks for your support and reply,
I must admit I wasn't clear enough, sorry about that.
Let me try to explain more (take a look at the pic):

I have a node (machine name: mape_opstine) and I have a geofield (field_granice_opstine) with geoman used and I've made a polygon as you can see from the picture with fillOpacity 0 and red color for polygon optons.

I tried to make a vew (second line in the image) and set Leaflet View Display Style with adding no options for the Path Geometries Options.
I wanted to apply Path Geometries Options only for that specific field (or inherit Path Geometries Options from the node field with red color and 0 opacity).
Even when I fill Path Geometries Options in the field with the polygon (3rd line in the picture) it's not applied and default styles are applied.
I want to add more fields with different polygon styles and don't want to use same style for colors etc.

If I use Path Geometries Options in the Leaflet View Display Style and apply geometry optons from the node there (second line in the attached image) it is applied but then it's applied to all polygons and fields in the view and I want them to be different.

I tried with different approaches and field values and Replace patterns (I have token module installed) but not figured out how to apply it for the specific field or as I said to inherit styles from the node. For some reason it's not applied and it's always using styles from the Path Geometries Options in the Leaflet View Display Style.

I'm probably missing something if this should be working.
Thanks again!

Production build 0.71.5 2024