Drupal is up and running but how do I ...?

How to find all nodes with a certain field label?

I want to find all nodes which have the field label "SOME NAME".

Uploading a multisite to server

Dear all,

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

I have a separate database for each website.

The websites function on localhost.

Rows are duplicated in admin/content/files/usage/xxxx

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.

[Solved] One exposed filter controlling multiple view blocks on same page

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:

HTML and images not working in Drupal 9 Article summary

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?

Effect of maximizing opcache in a Drupal site

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?

Pages

Subscribe with RSS Subscribe to RSS - Post installation