Drupal 8 form alter with file upload need to auto submit

Hi All,

What could be the best option to perform a form submit on when triggering a file upload field ( On uploading the file, it must auto submit the form - there is no separate submit button ) .

I am using a  a content type with file upload filed with type managed_file and trying to achieve this using custom form alter.

suggestions appreciated !

Thanks

How to disable "force preview" feature on Lightning distribution when edit content

Hi,

I'm using Drupal 8 Lightning distribution. It has a feature that force editor to preview the content before saving article.

It will hide the "save" button when editing article. After click "Preview" button, and then click "Back to content editing" button on the preview page, then the "save" button will show up.

I want to know how can I avoid this? Show the "save" button at the content editing page (don't need to preview again and again),

Thank you!

Restoring a SQL database

I don't know if anyone out there has read the book "Drupal 8 theming with twig." by Chaz Chumley. Good book but it asks for an import of a .sql exercise file to bring the chapters up to date. My problem is when I go to phpmyadmin and import the .sql file the site breaks into an error message with no navigation away from it. I can't get an answer from the book website.

The error reads partly -

Message : how to set the "send to"

Hi,

I use drupal 8 and I try to create notifications after node insert and comment insert.

I create a module which set the fields in the message content :

[Solved] Problem Installing - Blank page

Hello

Im trying to install Drupal on my VPS

Im using Debian 9 and nginx, the problem is that when I go to the domain, once I have the files upload, the page does not load anything.

Here is my nginx config:

https://pastebin.com/tmDUEyrA

Domain:

https://blog.srpeter.com/

I do have installed php 7.0 and file permissions are set to 750 and to www-data

Thanks for your time!

Solvay.com

Solvay.com on desktop and mobile

The Solvay Group, headquartered in Brussels, is a large chemical company with more than 135 workplaces in 61 countries and employs more than 25,000 people. The company has its origin in 1863, founded by Ernest Solvay, thanks to the discovery of a process to produce soda ash in a much more efficient way than the processes of that time. Thanks to this new process Ernest Solvay was able to raise a large business group, without forgetting a philanthropic component from which emerged the well-known Solvay Conferences, congresses held from 1911 to the present.

Sectors: 
Agriculture
Enterprise
Healthcare
Manufacturing and Energy
Technology

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x