issue in field comment

Hi, I need to change the comments per page value, I set it 50 from the field setting, but in some pages, I need to show only 10 comments, not 50. I tried to use this method.

setSettings([
    'per_page' => '10',
  ]);  

It changed the value, but still the page showing 50 results.
Code.

Showing original image size

I have been trying to show the original size of the image in an article. But it is showing only a smaller version. Could anyone please let me know what I am missing now. I even checked that the display fields settings are showing that the image is of full size. But, practically, it is different. The URL for a sample article is as follows. The original image size is 800x533px. However, it is just showing a smaller version.

Wrong captcha error message in popup

Hi ,

Is there any configuration to bring up captcha error message in a popup when integrated with webform?

Thanks

Webform likert element title and descriptions

What is the best way to get likert element title and descriptions of the questions in webform submission handler?

getData() gives only question titles and there seems to be no other easy method to get descriptions at all.

Webform 8.x-5.2

revision_metadata_fields update - InvalidArgumentException

Hi,

I have updated my website from Drupal 8.3.7 to 8.4.8 and then updated the lightning from 1.12 to 2.2.0 with all its dependencies.
I have then run update.php with all of updates successful except the one below with error:

Security for config and content synchronisation folder in a multisite architecture

Hi all,

I am building a system for our business clients based on Drupal 8 multisite, as we are using config manager and content synchronisation we would like to have all the data in a multisite folder instead of having to move it out to a separate folder outside project docroot.

As in NGINX, we don't have .htaccess support I want to lock public access with

location /testdir {
  deny all;
  return 404;
}

 Current structure:

sites/jakubmroz.com

|_ config

    |_ sync

|_ content

    |_ sync

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x