Save username/password in cookie and pre-fill when user login next time

We want to add a 'Remember me' checkbox in the login form.
On checking the checkbox and  submitting the form, we save the username and password in Cookies and we pre-fill when the user visits the login page next time.

But the page is cached with the cookie values and it's delivered to other users with the values.
It's major security threat.

How to achieve the feature without affecting other users?

Migration of forms from NON Drupal site to Drupal 8 Webforms

Hi 

How can I migrate the forms in the existing site (source: SQL) to webforms drupal 8.

Any pointers will be helpful.

Creating a custom MediaSource plugin which works with the media library

Hi all,

I have created a media source plugin by following this tutorial -> https://www.drupal.org/docs/8/core/modules/media/creating-a-custom-media...

However as I suspected it doesn't fully work with the media library module. The library shows uploaded media but it doesn't allow one to add new media.

Upon investigation is seems I may need to create the form by extending the class

Trying to set the Image title attribute in D8

I'm trying to set the title attribute of an image (multiple) field using hook node presave. I will ultimately be using the filename without the extension but for now I'd just like to get the title to set then I should be right to build that variable.

Drupal8 - Ckeditor - different image alignement and sizing when Media Library vs Insert image

Hi,

It's been really a long time since the last Drupal usage.. So I do not remember very basic configurations.

Please advise on the following.

Drupal 8
Theme: child theme of Bartik

When using Ckeditor in order to insert image to the content, the final image behavior is different depend on the way image was inserted.

CKeditor - Isert from media library vs Insert image - different image locations

Hello,

When using CKeditor Insert from media library all the previously uploaded images could be accessed from same place.
But when uploading the image throught the Insert image, same image later could not be seen under Insert media library.

Is it a normal behaviour?
Is there any option to configure Insert from image to have same location images as Insert from media library?
Where exactly I could configure those path locations for both features?

Thank you

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x