Is there a way I can output the link of an entity reference aside from displaying the label. I have an entity reference field that links to a page node content type. I'm trying to figure out how I can output the link.
Here is the sample of the code I've just created. It shows the label of the entity but it does not come with link.
I tried using `entity.uri.value` or just `entity.uri` to output the url.
I would like to know how to customize a theme.
Question #1: all html elements like header, section, footer etc can be removed from the Drupal interface?
Question #2: I am working with a Bootstrap theme and there is a section that has 3 columns (each with an image and text), but I want only 2 columns with this same content, how/where would I modify this? I am confused when to modify content with block.twig, node.twig and when in the view mode. Also what sections of a page are block, nodes, view mode part of? And with any I can modify this Bootstrap theme?
I would like to display the content type of a search result. The documentation in search-result.html.twig seems to show {{ info_split.type }} should do that, but it isn't showing anything.
Hi Guys,
Good morning to all !!! I started my day with drupal menu bar conversion. My goal is to use an existing theme and convert the top menu bar which is common in millions of sites into something that has a vertical menu bar that would include things like: Home, Events, Activities, Projects, Forums etc.
Any ideas of where to begin ? I am thinking at the block level and convert the menu block, i don't know if it is possible..
I have recently bought a theme that I really like with a lot of cool features.
I has different headers and footers I can choose among and a lot of different layout styles. And I have a styleswitcher on the frontpage to look at all the different ones. That I have deactivated when I found the ones I wanted to use.
I have installed the theme and it works like a charm, except that the frontpage won't use the same header and footer as the rest og the pages.