From the Blog

Magento 2: Call jQuery in a phtml

Magento 2: Call jQuery in a phtml

Sometimes you just want to use jQuery directly in your phtml file. However, since Magento 2 now uses requirejs, we can no longer simply call jQuery globally. The following snippet shows you how this works.

Magento 2: Read deploymentConfig

Magento 2: Read deploymentConfig

In Magento2 it is sometimes necessary to have several configuration entries which you want to set differently in your staging or development environment than in LIVE. You can solve the whole thing via the file app/etc/env.php. Fill in your Config here first of all, what you need. I’ve listed what this might look like. In […]

Find out IP address with PHP

Find out IP address with PHP

From time to time you are faced with the challenge of trying to find out the IP address of the user.For example, to quickly debug on the current IP or to grant or deny access to a specific IP address range.

Hello World!

Hello World!

Hello and welcome to my blog! In the future you will find here various tutorials, snippets and instructions about programming, Windows and Linux.