Hi patch-works
I did something similar with Drupal 7: a block with aniversaries of historical dates. You can see it at https://lassalle-kreis.de/ down in the blue footer, the middle column...
@indigoxela - I agree, I mentioned the SVG topic specifically for the dev meeting. I think we'll definitely want Nate involved in that discussion. Good call!
Hi colbyat,
re display in the browser: the problem is that when a 500 occurs, this PHP process died before being able to render anything. So that won't work.
Logging is possible, but...
SVG's are a great topic for the design meeting, but also for the dev meeting.
Two currently active issues related to SVG overlap a bit when it comes to security aspects.
https://...
We might want to talk about this issue at the dev meeting (if someone is available to speak to the issue and what needs to be done):
Support SVG in Image Library
https://github.com/...
Comments
Yes, the easiest way do do this would be with Layouts. You can add a "Visibility condition" to the menu block that checks a User's role.
Start on the Layouts UI at admin/structure/layouts, and click "Manage Blocks" for the default layout.
For whichever menu you'd like to hide, click on the "Configure" link at the right.
When the modal opens, csroll down to the "Visibility conditions" section at the very bottom, and pop it open. Click on "Add visibility condition"
Then select the User: role option.
Then select the user role "Authenticated" if you only want people who are logged-in to see the menu!
Note that you will need to repeat these steps for all layouts where you want the block limited by role.