I’ve invested some time to create a Icomoon.io Package of Fork Awesome, based on the broken SVG icons from the current Fork Awesome release (1.2.0). I have basically resized and centered them, to fit the canvas size, so some icon sizes might be not perfect.
Fork Awesome 1.2.0 · A fork of Font Awesome, originally created by Dave Gandy, now maintained by a community. Fork Awesome is licensed under SIL OFL 1.1· Code is licensed under MIT License. Documentation is licensed under CC BY 3.0.
In Drupal Themes its very easy to extend existing libraries using the themes .info (and .libraries) file. This ain’t possible in a Mobule .info file. So we need a hook to do this:
/**
* Implements hook_library_info_alter()
* - Extend some module libraries we support or require for MY_MODULE
*/
function MY_MODULE_library_info_alter(&$libraries, $extension) {
if ($extension == 'views_bulk_operations' && isset($libraries['frontUi'])) {
// Extend existing library views_bulk_operations/adminUi
// Important! That a library is listed by this hook, doesn't mean the library is attached, it just means its registered.
$libraries['frontUi']['dependencies'][] = 'MY_MODULE/MY_LIBRARY_NAME';
}
}
Not the first time i ran into problems with SVGs preserveAspectRatio attribute, but i can’t remember a case where Firefox handled this different from Chrome. However, lets have look at the this weird behavoir.
The goal was to build a very flexible lines-background-element with CSS-Grid:
Chrome result without preserveAspectRatio=“false“ on the SVG-Wrapper
While Chrome renders everything perfectly fine, Firefox produced this:
Firefox result without preserveAspectRatio=“false“ on the SVG-Wrapper
So after testing around, with the background-size, -position, etc. the conclusion was that the SVG itself must be the problem. And it kinda was, but i’im pretty sure its a Firefox Bug with SVG + background-size. As you can see in the code, i was not trying to change the aspect-ratio in any way, i just set a fixed with + auto height for the background and let em repeat verticaly, so the preserveAspectRatio shouldn’t needed here.
Selbst eingebundene Videos via Consent Manager blockieren / freischalten
Im Beispiel sind nur die für den Consent Manager nötigen Attribute definiert, für ein umfangreicheres Beispiel, kann man sich beispielsweise das Core Video OPC-Portlet ansehen (\includes\src\OPC\Portlets\Video\Video.tpl).
Migrating SOME notebook to a current Dell notebook (Inspiron from 2020 in this case) using Clonezilla has some pitfalls, so i decided to publish the procedre.
Hint: After this you will not be able to (re)activate RAID in the BIOS, or lets say… doing this will result in boot problems you have to solve by yourself. I stick with AHCI.
I will not go into detail how to create a Clonezilla bootstick, i just recommend my favorite tool to create those bootsticks under Windows: https://www.linuxliveusb.com.
1. Create your disc clone / image / …
Clone your old disc to an external USB drive using Clonezilla. I’ve cloned the whole dics instead of just the needed C: Partition, to have a full backup of the old notebook. So ..feel free to just clone the C: partition.
2. Prepare the Target PC (your new Dell Notebook)
You need to enter the BIOS by pressing the F2 key while booting. Now select „System Configuration“, search for „SATA Operation“ and switch from RAID to AHCI, otherwise – at the moment of writing this – Clonezilla is not able to enter the local drives.
3. Clone
Boot to the Clonezilla stick and choose to clone just the C: partition of the clone you’ve created in step 1.
After this is done, you reboot the PC, some ..aggregating.. repair .. spinner screens will automaticaly show up. After this is done, Windows 10 will start as usal. No struggle with the bootloader or something (what will happen very likely if you override the whole disc).
4. Download Dell Software and fix BIOS settings
The touch pad doesn’t worked well for me after the migration. Simply use Windows Update, it will install some Dell apps. Start the „Dell Update“ App, it will automaticaly install all Drivers.
Es gibt bedauerlicherweise kein Plugin um das zu erreichen (vom Alleskönner Dropper mal abgesehen), daher habe ich den Templatefile über das ID Feld der CMS Seite geladen und lasse einen Fehler ausgeben wenn die Datei nicht existiert:
For now, there is no placeholder attribute available for HTML select elements what is really bad if you need to achive some kinda reduced form styling, without field labels and stuff.
Example form with placeholder style select label
But there is a workaround, we have to add the label as the first option with a value=““. Now we want to style it like the other placeholder texts. To do so we need just a little JS & CSS: