Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I've placed the default search form in Navigation it is working correctly but when I search for content or a keyboard.
The result page or search result page has 2 search boxes appearing which is overlapping why is the duplicate search form coming on that result page, I want to configure the search form and hide the box in the search result page but I don't know which node or page I need to enter in "Hide for the listed pages".
I've been using drupal since drupal 6 and running a custom subtheme based on Bootstrap barrio. When i started working on the drupal 8 version of my site, i found out i could not access the row output like i could in drupal 7. After some research i found out the following code snippet. That still works great, but it spams my database log full with the following error:
Site branding block is placed in a different region and menu(Tbmegamenu) is placed in different region but logo redirect stopped working after using Tbmegamenu but before it was working correctly with superfish and normal menu.I have not changed any code in system-branding-block.html.twig.
I'm managing a site in which I run a subdomain with a diffferent theme and content (NOT a multisite). The question is regarding the admin content shown of each one. In example, this:
I want the book child navigation to be placed above the add child page, etc. links rather than below.
Node.html.twig dumps out the body contents including the bottom links and presumably the child nav. I think that if I turned field.html.twig into field--node--body--book.html.twig, I'd be able to modify the individual components. The only thing is that field.html.twig is so abstracted that I don't know if I'm in the right place much less how to go about picking out the components I want to alter. Am I headed down the right path? Is there a better way to do this?
I've been looking for quite awhile for a solution to this problem. I have a use case where I have Nodes rendered on Pages for normal consumption like on a website. But, I also want it to be a 'printable' type view mode which will not have header/footer etc and will need custom theming (html, css). So I have two view modes for the Node, one is for the website the other I want to customize (let's call it Print).