"The website encountered an unexpected error" even after restore from backups

Drupal 8.8.4

PHP 7.2

I was attempting to upgrade module "Permissions by Term" from 8.x.2.18 to 8.x.2.19. Previously this module would not function if Page Cache module was installed, but required the Dynamic Page Cache module. New version requires both, according to the notes:

Left align login block

Hi,

I'm using the Bartik theme and I'm trying to get the login block to appear to the left.  It currently is centered (..or just showing in the main content area).  Any help is much appreciated. 

Never mind.  I've figured it out.   I had to make sure that all blocks under Sidebar First were visible only for authenticated users.

Image upload field with reuse of images

For Content editors normally features available via imce or some others modules even with drupal default media feature is available after enabling the Media and Media Library

But i want to implement same functionality for IMAGE UPLOAD field. i have image field in my content type where i can upload ONE image at a time from my PC i want to upload image with Dual functionality One from Browse local file and one from existing uploaded files.

Kindly guide me how can i do that

 

Regarding Modal dialog box

Hi,

For my website, I want to give users an option to save their selections before logging out. Once they click the logout button, I want to open a modal pop up which gives them 2 choices, Save or Cancel.

If they select Save, then their selections would be saved in the database.

How could I do so in drupal? If there are any examples online, please let me know.

Thanks

After enabling Trusted Host I Can't Acces Admin Panel

When I enabled and edited
@code
 $settings['trusted_host_patterns'] = [
   '^mydomain\.tld$',
   '^.+\.mydomain\.tld$',
   '^mydomain\.tld$',
   '^.+\.mydomain\.tld$',
 ];
@endcode

In /sites/default/settings.php

I get the error:

Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it.

If I comment those lines out, I still get the error.

How to show all sub-categories in the list of the parent catagory

I have just add some categories and they have also  sub-categories but on the list of the categories there showing all parent categories along with sub-categories. But i want show only parent categories in one page and after clicking on the parent categories then show the sub-categories in one page.

list like this

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x