This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Help debugging: TypeError: Argument 1 passed to Drupal\Core\Render\Element::children() must be of the type array, null given

When I enabling the module Subscribe mailchimp (part of this theme hosted on GitHub) I get a WSOD and this error message when visiting the site's front page:

Altering entity bundle add form with custom form mode programatically Drupal 8

I have created a custom entity type called custom_enitity and new bundle scores. Also got custom form mode called score to add scores entity via custom route. I am trying to create a route with an entry parameter in it and alter few form fields based on the entry id . I keep getting the following error message. Am I doing something wrong/missing something in routing.yml file ?

Comment attachments unpublished by default

I have a content type that is linked to a comment type. The comment type has comment and attachment fields. Is there a way to set up the comments with attachments alone to be unpublished by default? For comments that has attachments, the admin will have to login and publish it manually. Only comments that has attachments should be set unpublished by default. Is there a way to achieve this?

install module

Hello, 

I recovered the management of a site under Drupal 7. 

I do not have access to hosting via FTP. I noticed that I did not have the possibility to install a module (function not visible) I tried several solutions: activate the update function, modify admin rights, modify admin theme, modify timezone ... Do you have another solution?

Thank you

Christophe

Drupal Forum cusTomizing: Get Taxonomy field value in Forum overview forum-list.html.twig

Hello,

i am customizing the drupal standard forum module. drupals forum is based on taxonomy terms. i added all my forum and container. so far so good.

Additionally i added a taxonomy field and i want to show the field for each forum category.

how can i call the custom taxonomy field  in forum-list.html.twig?

Duplicating My blog to make a My studio etc

I am wondering if I can duplicate My blog to make a My studio etc? https://www.drupal.org/docs/8/modules/blog/overview

My blog is a perfect template for me to make other content type. How can I duplicate it and name it be My Studio etc.

I am using Drupal 9. Thank you for any help.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions