This forum is for assistance with theme development.

Avoiding some twig files from being called for View

I am trying to customize a responsive grid view in D8 using Bootstrap Grid. Code is working, but I am trying to find out if some extra divs can be removed.  

Currently I am getting

How to fix/troubleshoot 'User error: "name" is an invalid render array key.'

I am trying to port my Drupal 7 theme to Drupal 8. However, I am 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)

Note: I also encounter this error with the key 'title'

I have done the following during the process of converting my theme:

How to fix/troubleshoot 'User error: "name" is an invalid render array key.'

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

Newbie Help: Refreshing My Drupal Design Knowledge

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?

Thanks.

How to close collapse when I click outside ?

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.

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

Open a second block by clicking a link on the first block (linking blocks)

Hi, 

The front page of my website looks something like this:

https://imgur.com/a/0VInLMA

Each of the links is a content type.

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?

Something like this:

https://imgur.com/a/7xtkKsg

Pages

Subscribe with RSS Subscribe to RSS - Theme development