Xalan 2.7.0 – Namespace error

I got the following exception while generating a WSDL:

NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.

Solution is to add the following properties to your VM Arguments:

Calling Google Analytics Realtime API from PHP

This article describes how to call the Google Analytics API via PHP.

1. Create a new project in the Google Developers Console (https://console.developers.google.com) and make sure the (realtime) analytics API is turned on. At the credentials page, create a new Client ID. This will generate a Client ID, Email address and a public key fingerprints. Afterwards generate a P12 key. This will also download the key file. I stored in the root of my Laravel project. Continue reading Calling Google Analytics Realtime API from PHP

Responsive Facebook comments

Currently I am using the Joomla Facebook comments plugin from internetpartner.info Works perfect but the only problem was it wasn’t responsive. To fix this add the following code to your css and in the plugin settings change ‘data-width’ to 100%:

.fb_iframe_widget, .fb_iframe_widget iframe[style], 
.fb_iframe_widget > span[style] {
  width: 100% !important;

Plugin settings