Click to Chat : How to open WhatsApp chat from website button

If you want to have a “chat” button on your website which on Android mobile will directly start the Whatsapp application and send a predefined message to predefined contact number, just copy paste the below lines where ever you need. For India, it will be 91 as country code in “phone=”, you can check your … Read more

Create a pdf from php / html using mpdf

This article will explain, how to create a pdf file using mpdf from html / php. Install php if you are working on local ubuntu machine, on shared hosting mostly php will have been installed. Below command will install php5 on Ubuntu [ Note: this article mentions steps as followed on Ubuntu 14.04 which was … Read more

Installing Django and Django-REST Framework on ubuntu

Django REST framework is a powerful and flexible toolkit for building Web APIs. Some reasons you might want to use REST framework: The Web browsable API is a huge usability win for your developers. Authentication policies including packages for OAuth1a and OAuth2. Serialization that supports both ORM and non-ORM data sources. Customizable all the way … Read more

Adding a Twitter Button and using Twitter Card for tweets

As you know, these days having social media presence is very important for any business or entity. One among that is twitter, which has significant importance if you want to drive traffic to your website and also want to inform the world what you are doing. There are number of ways, one can add a … Read more

Brackets: Best Html, CSS Editor for 32 / 64 bit Ubuntu / Linux

How to Install Brackets on Ubuntu 1. Download binary for ubuntu $ wget -c https://github.com/adobe/brackets/releases/download/release-1.14/Brackets.Release.1.14.64-bit.deb You can also download an updated binary from http://brackets.io/ $ sudo dpkg -i Brackets.Release.1.14.64-bit.deb Start Brackets on terminal, $ brackets It will open a IDE, where you can edit the html and for Live preview during continous development, go to … Read more

Solved: ERROR: ErrorException : Array to string conversion

We have two websites, one which is developed with open classifieds and another with wordpress, since wordpress is always updating and recent versions of wordpress demands latest php version for security reasons. We had to update our PHP version from 5.6 to 7.0 for wordpress compatibility, but as we updated PHP version, our bootstap based … Read more

How to create Arrays in php ?

PHP provides simple function to create an array using “array()” API which creates an empty array. In this post lets try to create a simple array to begin and add an elements to this array and display those. Creating an Array Above this simple code, creates an Empty array, now we will try to add … Read more

How to add Android Share dialog to website using Web Share API ?

In Chrome 61 for Android, google has launched the navigator.share() method, which allows websites to invoke the native sharing capabilities of the Android / host platform. This method, part of the simple Web Share API allows you to easily trigger the native Android share dialog, passing either a URL or text to share. This is … Read more