Drupal 8.4.0 Upgrade Problem

Hey,

1 - Just upgraded, via cPanel file manager, to Drupal 8.4.0.

2 - I had previously successfully upgraded to 8.4.0 on my localhost site. But did not migrate that site to production. I did a live update on the production site.

3 - The live update gave me an error:
 

Recaptcha and Ajax form submission

Hi,

I'm, trying to use recapthca on a form that the submission is to be made by ajax. 

My problem is that I'm having always unknown error in the response from google. I know that i'm missing something but where... I need help on this.

My settings are, the module recaptcha is installed and enabled and configured with my site private and public keys, (for developing using the domain localhost).

My form has  

$form['captcha'] = array(
      '#type' => 'captcha',
      '#captcha_type' => 'default',
    );

Unwanted whitespace-only text nodes breaking page design

I'm seeing whitespace-only text nodes in the FF Inspector, the Chrome and Opera Inspectors do not show them. These nodes semi-randomly occur after a closing DIV tag, before whatever follows after that. Selecting and deleting them in the Inspector resolves the page design issue, until the page is refreshed.

Pls help me find working example of managed_file in core

I'm trying to adapt a simple CRUD form in an older D7 module into D8. Everything is looking OK as far as a form and saving data except managed_file which is not in Examples that I can find.

OK, let's load up a fresh D8 and start poking around in core, surely there's a working example in there. That said, trying to find it in core is where I'm needing help.

CSS code for images in blocks

Using Drupal 8.2.4

I am new to Drupal. I do know some CSS however.

I am attempting to create a new “block”. Using this flow: <Structure> <Block Layout> <Custom Block> “+Add Custom Block”. I then click on the image icon in the body section and enter the information for the image I want to use. I then click “Advanced”. Two fields appear, “CSS Classes” and “ID”.

how to get values from html form?

Hi to all , I am new to drupal . I am creating a theme from html template to drupal theme . I have an html form in my theme that i have rendered  in drupal8 with twig and now i have to insert the form data into the database . How can i do this task . please explain the steps involved.

Thanks in advance.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x