How to add page templates for content types in Drupal 8?

I'm using the "basic" skin

my type of content is called "apartments"

when a file is added page--apartamenty.html.twig it does not work this way.

I have drupal 8.7.3

I use this method and it does not work what I'm doing wrong?

https://befused.com/drupal/page-template-content-type

overide sub theme on specific page only

I understand that you can use template names to suggest different templates to use for different things such as
page, block, node ect

from a drupal theme (not from a module which defines a block ) is it possible to make a twig different template file render a specific block on a specific page only.

Lost most twig template/field suggestions

Not sure if this is a new issue, but I couldn't find anything with a search that matched.

I have twig debug set to true, and devel is running.

If I look at the source, there is only suggestions on blocks, not on content, or even the main html block. I don't have any sites running prior to 8.7 but I checked on 2 sites I own. One is plain bartik the other is bootstrap 3.

I can't see where to upload any screenshots. And I'm sure this doesn't make sense, but here is what it renders.

GeoLocation - BING

Is or has anyone had problems with google maps on BING, the geolocation works on other search engines but on BING I am getting the normal error.

"Sorry! Something went wrong.

This page didn't load Google Maps correctly. See the JavaScript console for technical details."

I have a (BING) API key installed but still get the error

Thanks

[D8] - Access to a node field from a paragraph template

Hello

I have a file named "paragraph--my_paragraph.html.twig."

Inside, I need to get the value of a field that I have created in the same content type where I have my paragraph.

Content types
|- My content type
    |- My field 
    |- Reference to "My Paragraph"       
                                                        
Paragraph types                                 
|- My paragraph 

Above is what I want to do. To put in "My paragraph" template the value of My field.

But I don't know how to do that.

How to install drupal from docker

Hello everyone!

I want to install drupal in docker but I don't know what should I need to let website run perfectly. Please give me an advise. Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x