SSL cert error when using Composer to install modules on D9

Hello.  I have a new install of D9, installed via Composer.  I tried to install modules via Composer, but got an error message, looks like its related to SSL certs.  I did also try to install via the browser/Extend/Install and got a CURL 77 error.  But I would specifically like help about getting Composer to install modules.

Composer Log:

Twig: How to use reference content for multiple entries

Trying to build a related articles control that allows the user to pick related content (page type = article) up to 3.    I'm trying to prevent reentry of content to display title, teaser, and page image.   I assume I'm using a Reference Content field that allows multiple values.     Does anyone have a good example of how to put that in my twig template?   Not sure of the syntax.

Thanks

The website encountered an unexpected error. Please try again later.

When I update this function and add the bolded I get the error:

public function validateForm(array &$form, FormStateInterface $form_state){

Delete me please

Delete me please :)

Upgrade Theme Mayo

I am using Theme MAYO on Drupal 8.9. Is there a chance to use MAYO on Drupal 9, is there anybody who can adapt it to Drupal 9!

Regards,

Joachim

Problems with ajax-addmore example and required field.

Playing around with forms and ajax but ran into problems. When I add a form element before the ones that should be added dynamically it's stops working if the element is required.  I thought I could solve it by skipping required and validate instead but it gave the same result (and I do like to have the red star :-).

I'm to much of a rookie in Drupal 8/9 to have any clue on how to solve this so I really hope there is someone with a solution.

Im running Drupal 8.9.0.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x