Blog

Neueste Artikel zu Frontend, Drupal und allem dazwischen — inkl. migrierter WordPress-Beiträge.

Frontend

Swiper.js shows 1px of the upcoming / next slide

There is a GitHub issue for this problem, but there is no working solution and the issue is locked.
The issue does mention setting Swipers' roundLengths to true, but this didn't work for me.

My workaround (for a single slide slideshow):

.swiper-slide-next {
   translate: 1px...
Miscellaneous

Fork Awesome Icomoon Package

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.

[Download / Clone =>...
Miscellaneous

JTL Shop (5) - Print Linkgroups in Smarty

Nova has two simple snippets to print (custom) linkgroups, this snippet prints out list items without the list wrapper.

Link List with toggable submenus (like the regular sidebar menus)

{include file='snippets/linkgroup_recursive.tpl' linkgroupIdentifier='LINKGROUP_TEMPLATE_N...
Miscellaneous

JTL Shop (5): (Cookie) Consent Manager

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\V...

Frontend

JTL Shop (5): OnPage Composer (OPC)

Because i had some pain when starting development with JTL Shops new OPC, I start to collect some stuff and things here to help others.

Add new OPC-Mount Point / Region to the Template

This is pretty simple, but i think it's currently undocumented, just add this:

{opcMountP...
Frontend

Good ol' Font Awesome: Fork Awesome

I’m not a big fan of Font Awesome 5, i’m sure it has an amazing feature set and stuff, but I’m completely fine with simple, working iconfonts.

However, I just wanted to drop a link to project „Fork Aswesome“, a fork of Font Awesome 3 who keeps it updated. Fantastic!

Frontend

CSS (fake) placeholder text for select elements

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.

HTML Select element with fake placeholderExample form with placeholder style select label

But there is a workaround, we have to ad...

Miscellaneous

Safari transform z-index bug workaround

If you have trouble with your z-index using the transform property, you should try to set transform: translate3d(0,0,0) translateZ(1000px) on the element what should overlay the other element(s).

But be careful, this fucks up all your z-indexes, you have to add translateZ(xxx...

Miscellaneous

Disable Nextcloud twofactor auth (TOTP Provider)

So.. currently it seems there is a bug with the TOTP provider, maybe in combination with the Google Authenticator app, idk.

So.. currently it seems there is a bug with the TOTP provider, maybe in combination with the Google Authenticator app, idk.

First of all: You need SSH a...