Problem with text-format

Hi,

im very stupid. I deleted a text format "filtered html" and now all body-fields of my content type which used this format are empty. I have to edit each node and change the text format to get the text of the body field back. But i have a lot of nodes :-( Is there any other way to fix that? When i try to add the "filtered html" again it says "already exists" :-(

best,

How to get list item text programmatically

In my module controller (evidently Drupal 8) I try to build an array based on contents from one specific content type.

Everything else goes fine, but a couple of List (integer) fields keep fighting back.

I can easily get the value (the integer part) of the value, but how to find the associated text. Some of the fields are uni-valued, some multi-valued.

I have tried to look all around the internet but so far to no avail.

Basically by problem lies on the following line:

Submitting a form programatically

I'm trying to create a registration form via a mobile app based on this tutorial http://www.wembassy.com/blog/chris-mcintosh/create-angularjs-headless-dr.... It involves posting the Register form parameters to a custom url and then sumbitting the user registration form using the Form API as follows:

$form_state = (new FormState())->setValues($_POST);
\Drupal::formBuilder()->submitForm('\Drupal\user\RegisterForm', $form_state);

Node Gallery

I'm using Drupal 8. Struck with a simple requirement. I need to display 5-10 images on each node. Tried creating a new content type - Gallery and a viewblock to display on the node. If I am going to have N number of such nodes, keep on creating N number of viewsblock is impossible. Looking for suggestions to automate this!

Blank images in Zircon slideshow

On Drupal 8 / Zircon 8 theme I added a slideshow following the instructions on ttps://www.weebpal.com/guides/drupal-8-zircon-theme-guide-developers
Although the progress indicator(throbber) is working, the images are not visible.
Instead, in the banner above "undefined" is indicated.
Any idea what I'm missing ?

A new theme has broken drupal8

I purchased the Level+ theme and installed & set as default it but now my website is broken
"The website encountered an unexpected error. Please try again later."

How can i switch back to the previous bartik theme as i cannot login to admin. This https://www.drupal.org/node/200774 says the value of 'system.theme' is in the table 'config' but which is the correct record to update as the 'data' column is also in a "blob".

Thanks for any help.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x