Own entity render

I have content type in which i add "Entity Reference" to other content type. I display it in format "Rendered Entity" and this works - entire entity is rendering (Title,Desc,Photo,Second Desc...) .

How can i make render with only the title and photo or description and photo?

Handling forms using Boostrap

Hello Forum!

Good day to you.
I'm new in theming of Drupal using Bootstrap. I would like to know how to override the twig files in forms using Boostrap. In every twig files that has been suggested by the Boostrap template, all I see is a block of code. I would like to customize the look of forms based from the desired layout. Hope you can assist me.

Thank you! :)

How do I revert to the default Drupal site logo?

Hi!

I am building a website on my local PC under XAMPP with a standard Drupal installation. Initially, the website was using the Drupal default site logo. But then, I decided to use my own. So I made the appropriate changes under Admin > Appearance > Settings > Global Settings. I then discovered that my logo was 1936W x 1936H pixels (20"W x 20"H)!

Best way to tackle content dynamically creating menu links

I plan on using D8 as a Document Management System and wanted to know the best way to implement this:

I have a main navigation menu of taxonomy terms (I have already installed the taxonomy menu module for D8 and created terms. The navigation menu with the taxonomy terms itself works). I create content items which include one or two of those terms. My goal is that these content items become sub-menu items under each taxonomy term that they are tied to. I'm at a loss as to whether I need to use hooks, or dynamic routes to accomplish this.

Adding JS-Library without usage of ['#attached']

Hi Drupalers,
I'm relatively new to D8 and the JS-handling it provides.
Back in the D7-Days I was able to simply add a JS-file through the use of drupal_add_js().
Nowadays this is done by using the "#attached"-array inside a form- or render-array.
But what if I have to add a JS-Script in a place where I don't have any render-arrays? Maybe in an event-handler or something like that.
Is there another way to add JS-scripts and -variables except using "#attached"?
Thanks for your help and knowledge :)

Problem when update database

I try to update drupal after having installed last drupal 8 core.
But I can't run all the update

here is the list of database update

system module
Update entity displays to contain the region for each field.
Force caches using hashes to be cleared (Twig, render cache, etc.).
Force plugin definitions to be cleared. @see https:www.drupal.orgnode2802663

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x