Media Directories

This module offers an alternative way to browse and use Medias. Initial UI is available (full featured jsTree directory browser experience) and enhances the Media experience.

It provides directory/folder structure for Media entities, after enabling, a new field will appear to Media entities, which will allow assigning them to folders.

File Rename

Very useful as often the originally uploaded files would benefit from being improved for SEO.

This module adds the ability to rename a file which was uploaded to the system.
It can be integrated in the media detail page.

document.getElementById() alternatives

In the below we explain the JavaScript alternatives to getElementById() and show a working example of getElementById() together with two alternatives.  You can Scroll down and then click the buttons to read how the targets have been referenced.  Once we have the elements we apply some styles and add some text within our divs #target-1, #target-2 and #target-3 which you'll see when you click the buttons.

In our HTML code we have the following:

EU Cookie Compliance

This module addresses the General Data Protection Regulation (GDPR) that came into effect 25th May 2018, and the EU Directive on Privacy and Electronic Communications from 2012. It provides a GDPR cookie banner where you can gather consent from the user when the website stores cookies on their computer or otherwise handles their personal information.

Vertically centre and right align absolutely positioned child element in a flex container

Submitted by root on

.container_221 { display: flex; justify-content: center; align-items: center; position: relative; background: green; height: 100%; width: 100%; min-width: 250px; } .text_221 { position: absolute; background: red; padding: 12px; }

The referenced media source is missing and needs to be re-embedded.