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.
Every time i log in on my site, permissions get changed to 550 on "docroot/sites/default". Can I prevent this?
The folder "default" must be writable for the owner in order for composer to work.
Owner of the directory "default" is an ordinary user without sudo rights. The group is the server. If the server is booth owner and group, it makes sense to chage to 550 but not if server already only has reading writes.
I am getting all the values in node--blog--teaser.html.twig from a blog page.
Now i want to display in CARDS format in another page as a block. So i created another view with unformatted-list and tried overriding the views-view-unformatted.html.twig.
But i am getting all the fields that i got in node twig like author_name, author_picture and other things.
I tried overriding the node.twig for unformatted-list with block type, but it was displaying the content from the blog page.
Given a Website built on React fetching data from Drupal APIs exposed via the GraphQL module.
I have been asked to develop another area within the same website which requires data some Drupal plus some non-Drupal data.
My question is, "Which one of the following options is preferable?"
Option 1: Extending Drupal GraphQL to expose non-Drupal related data (Assuming the GraphQL module is extendable, not sure about that).
Option 2: Adding a new Custom GraphQL Layer and deal with Drupal as another source of data to be exposed.
I have a custom block and I want to make it collapsible sideways when it appears on my custom page. I have looked for examples but I found nothing helpful. Could you please guide me?