Make PHPStorm and xDebug work together – a quick howto

I have had some problems getting my PHPStorm and xDebug to work properly, so here’s my simple help on that.

Install xDebug on the linux server

Install the browser plugin from Jetbrains and activate it.

The php.ini on my remote linux server. For me, this is located at  /etc/php/7.0/apache2/php.ini .

At the end of the file, I inserted the following:

Then restart the apache server, set a breakpoint in your code and have PHPStorm listen for incoming debug connections.

Change WordPress html lang attribute based on template filename

This might be a rather seldom needed feature, but I need it for my blog (yes, this one).

As I am writing my blog posts in both english (for technical stuff) and german (for all the other stuff), I need to change the html’s lang attribute  to display the correct language code. Change WordPress html lang attribute based on template filename weiterlesen

Add NoIndex / NoFollow to Magento CMS pages

In your Magento shop, you surely want to exclude some pages from being indexed by search engines. Such pages could be your store’s legal information, cookie policy or anything else you wouldn’t want to show up in the search engine results. Add NoIndex / NoFollow to Magento CMS pages weiterlesen

Apache Cordova: Create a signed release APK – Easy HowTo

To upload an app to the Google Play Store, you need to sign it first.

There are a lot of tutorials out there, some of which are simply overwhelming, to say the least.

Here is my very simple solution to create a signed APK which you can upload to the Play Store.

Apache Cordova: Create a signed release APK – Easy HowTo weiterlesen

Apache Cordova: iOS click event not working – Quick „how to“

When you are using Apache Cordova to create apps, you will most likely use click  events to navigate from one view to another or to do other stuff.

This all works fine on Android devices, but iOS is not doing anything – and you won’t get an error in the debug console, either.

The problem is that iOS is not sending a click  event, but touchstart .

So your event listener should look somewhat like the following.

This will let you register your event listener for both the click event  and the touchstart event .