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:
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.
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.
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.
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.
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.