Closed (fixed)
Project:
Layout Builder Blocks
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Nov 2020 at 12:13 UTC
Updated:
14 Jan 2021 at 05:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alokbhatt commentedI am facing the same issue while adding the layout to a page.
Comment #3
alokbhatt commentedComment #4
mahmoud-zayed commentedHi,
Please navigate to network tab at console and click add block again, it should show more details about the issue.
Thanks,
Mahmoud
Comment #5
alokbhatt commentedDue to icon path in module file the popup is breaking. Not sure why base_path() is not working.
Comment #6
alokbhatt commentedComment #7
rajab natshahHaving the same issue with Drupal 9.
And when the site is located in a sub-directory.
And when the site is a multilingual website with a URL language selection.
much like
#3188729: Fix Error when choosing or editing a layout for a section
Suggesting to remove base_path or change it to the original path
\Drupal::request()->getSchemeAndHttpHost() . \Drupal::request()->getBaseUrl()Removing the base_path is the better option in my opinion.
Comment #8
rajab natshahComment #9
rajab natshahComment #10
rajab natshahComment #11
rajab natshahComment #12
rajab natshahComment #13
aaronchristian commentedAwesome thanks for submitting the patch @RajabNatshah!
Comment #14
aritrika.d commentedCan someone guide me with the second step that is mentioned in the steps to reproduce section, Step 2: Go to Layout of that Node??
As there is no documentation of that module available I am unable to reproduce.
Thanks in advance
Comment #15
mahmoud-zayed commentedHi @aritrika.d
When you enable the layout builder for a specific content type, it will show a layout tab when you view the node. if you click that tab you will be able to add sections and blocks.
The first 5 steps not related to the module these steps are common when you use the Drupal Core Layout builder module but the functionality of this module starts in the last steps. I would recommend searching on youtube with "Drupal Layout Builder", you will find many videos that showed how it works.
Regarding the documentation, it's a valid point, we will try to write it and of course, the community is welcome to contribute to it.
Thanks,
Mahmoud
Comment #16
mahmoud-zayed commentedThanks, @alokbhatt & Rajab for the patches :)
Comment #18
mahmoud-zayed commentedComment #19
mahmoud-zayed commented