Auto Assign User Role After Specific Form Submission

I am running on Drupal 8 and I am attempting to auto assign a role to an authenticated user after submitting a specific form. I've tried rules, but it's not up to par.

Here's the problem I'm trying to solve:

  • An authenticated user is directed to a specific Webform (this is not a registration form)
  • After the authenticated user clicks submit, I am wanting a new role to be assigned to their account so they can access private pages

I want that registered users could gain another role after submitting a specific  Webform.

Admin Mail to all Users Drupal 8

This is a pretty basic and necessary function but I can't seem to find the option or even a module for the Admin to send an email to all site users for Drupal 8

Fix corrupted database

Hello --

I'm seeing the following error in the server log:

General error: 1364 Field 'revision_id' doesn't have a default value: INSERT INTO {menu_link_content_data} 

The site is Drupal 8 and the error shows up when trying to edit content. It looks like I need to repair the "menu_link_content_data" table. Can anyone one suggest any tools or strategies for doing this?

Thank you,

 - Bryn

Creating a table list from files uploaded via FTP

I created a folder in sites/default/files/pdf-uploads (I'm not married to this location). The client will have direct FTP access to this folder, where he will be able to upload and delete PDFs.

I want to create a page called "PDF Uploads" which displays a list table of all PDF files that are in in the pdf-uploads folder. So when the user deletes or adds a file, this will either add/delete the row in the table. The table just needs basic information: date it was uploaded, name, and download button. 

I need advice, I'm a complete begginer

Hello, 

I am having a really hard time trying to figure it out how to manage a website.

I accepted a job to upload content to a web which is already set up. At the beginning everything seamed very easy. They provided me a password and I just upload text and some images and done.

However, I need to make a change in one of the menus. Instead of the just one image I should add a second one and link the two images to external sites. 

Drupal 8 default themes missing

Hello,

I am just now discovering - that some Drupal 8 core themes are not showing up in Apearance section.... Such themes as Stable and Classy - while there are folders in drupal/core/themes , theyare not seen in Appearance section.....

it also seems that Classy has no .theme file and Stable has no .libraries file....

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x