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 have developed a multisite using drupal on my localhost. Now I'm trying to upload it to the server, but haven't succeeded yet.
The structure of my site is as follows:
The root of my website is in htdocs. It is called 4TUwebsites. The files for the websites are findable in:
4TUwebsites/sites/website 1
4TUwebsites/sites/website 2
Hi All, in a custom module, icb, I use hook icb_node_insert(\Drupal\Core\Entity\EntityInterface $entity) to clone a node that has an Image and a File Field type. In hook icb_node_insert I use $entity->createDuplicate() to create the duplicate. Two nodes are created and that is fine. When I look up the uploaded image in admin/content/files/usage/xxxx I have four lines. I only expect two lines because the Image is in the saved node and in the duplicated node.
Seven days into my Drupal journey. Could someone give me a clue as to how I use a single Exposed Filter to control what is displayed in two (or more) View Blocks located on the same page?
I feel like I've googled the **** out of this with no answer. I think that I'm almost there. I've got:
My content created in Drupal 8 or 7 has images in article summaries. In Drupal 9, the summaries display the correct way but content edit shows only a text field instead of a full HTML edit. How do you fix the summary field to allow the same Full HTML as the body?
During a recent trouble ticket discussion with my hosting company, they mentioned that my site's opcache appears to be over-full, and they recommended that I increase its allocated size. I can (and probably will) do that, but before I do, I'd like to understand A) is there any down side to increasing my opcache size? B) in general, are what factors might lead a site to overflow its opcache? i.e. Is this problem simply a function of high traffic, or does it point to a problem in my site's setup that I should work to track down?