I am trying to port a Drupal 7 theme to version 8.7.10. I am currently encountering the following error:
User error: "name" is an invalid render array key. in Drupal\Core\Render\Element::children() (line 97 of /opt/drupal8.10/core/lib/Drupal/Core/Render/Element.php)
In the process of converting my theme, I have done the following:
- I copied over my drupal 7 theme to the 'themes/custom/' directory under my drupal 8 project root
I've been away from Drupal for several years as I worked with WordPress on a small news site. When I returned to test Drupal, I realized my knowdge of designing a custom frontpage needed help. I've read differing opinions about whether to go with Views or code. What is the best way to construct custom views and bring them together?
I have a theme with Bootstrap 3 and I created a code to close the menu when I click outside.
In this menu, I have an ui-autocomplete field. The problem is that when I select a result in the ui-autocomplete list, the menu closes. I want it to stay open.
I want to click the links (displayed on the block on the left hand-side) and open a block that displays some information (other links) related to the content type.
How can I open another block by clicking a link on the existing block?
I have problems with styling the Barrio SASS Subtheme. I copied the Subtheme and changed some filenames and entries as described in the available documentation.
So, I make changes at the style.css, run gulp at my lcoal machine and upload the file via ftp. For example I change the H1 color. At the variables.scss I change $accent-shade to the desired color, because im the style.scss I have "h1 {color: $accent-shade;}". This works.
But I do not understand why in the browser console the value comes from style.scss and not from the style.css?
I'm not original developer of the site but trying to solve this problem. I have a custom content type (lets call it my-page) so I was able to set up a Colorbox for Image field within this content type. So normaly when I open /node/1234 which is this type everythng works.