Serve static files from directories outside site for registered users

Hi
we have different groups of users that must be able to download files only available for the folders that are allowed for the groups, the user belongs to.
Unregistered users must not be able to access these files, also not via links.
The user is on a page, where s he sees the list of available files for the groups it belongs to.

I know:
How to get user and its role in a preprocess_page / twig template.
How to serve static files from directories with php (readfile or x-sendfile) in general.

copy D8 site to another server

Hello, i am working on moving a drupal site from one server to another. I have done the following:

1) move the files to the new host
2) import the exported database tables to the new host
3) change the rights of the folders like sites/default/files
4) change the database login information on settings.php

but it comes up with

D8 - Any reason why blocks aren't rendering/displaying?

At some point near the end of development for my Drupal 8 site, any NEW block placed in a region isn't displaying or being output to the DOM. I place the block in a region, define what pages to display it on, click save blocks and yet nothing shows. I've tried clearing cache multiple times, but no dice.

All of my other blocks are still working (from before this started happening) but I'm afraid that if I remove them and try to re-add those blocks, they aren't going to render anymore. Any ideas?

Need help styling the current page link with Superfish

I have Superfish on a D8 site and I have created custom styling for everything. But I'm running into a problem in that I can't figure out how to style the link of the current page. I have looked at the page source code but I don't see any class for the current page so I can't think of how to change the styling. Can anyone offer any advice?

8.05 patch release

Can I set up a new clean Drupal install using the patch release 8.05? Or do I first need to install 8.04 then do an update?

I don't see and install.php files.

And, yes I am a newbie...

Thanks in advance.

ken

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x