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 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..
Currently I have a task link (in my_module.links.task.yml) on nodes which I only want to show to users who have the authority to edit the node. Therefore I replaced _permission: 'access content' under requirements to _entity_access: 'node.update' but now the link is not showing up even when I'm logged in as administrator (the 'Edit' button is showing up in that case). When directly trying to access the route I get an access denied page (for every user from anonymous to administrator). The code currently looks like this:
I have a site where I use Search API.
The problems are:
- searching for phrase "d&o" doesn't work:
- normal search won't show anything on first result page
- searching for "d&o" gives proper results
- using html filter preprocess - doesn't change anything
- searching for phrase "ubezpieczenia oc" doesn't work:
- there is a page with such title, it doesn't show in search results or shows near the end
- setting full text for only title doesn't change anything
I have installed Drupal 8.3.5 locally (with MAMP) previously without any problems - when i tried to install to my online hosting server it fails on the first screen: