
Search In
Sending email using function drupal_mail(). All you need to do is install and configure SMTP module and then add the given code in your custom module.
function sendemail(){
$to = ' xyz@gmail.com ';
$from = ' abc@gmail.com ';
Before we begin with the setup of the varnish with Apache, let us know a bit about Varnish and then move ahead with configuration of varnish with apache with some examples that gives you an idea of basic settings for the server.
Varnish is an HTTP A
PassportJS is a flexible Authentication middleware that allows users to login. PassportJS library is fully customizable and works well with ExpressJS.
It is flexible in the sense that it allows the user for different login strategies such as LocalSt
Hi all,
Here is an example how to format currency using Angular filters.
Formats a number as a currency (ie $1,234.56). When no currency symbol is provided, default symbol for current locale is used. - AngularJS
HTML:-
<body ng-controller="C
Count Total number of Web Links and All Elements on Webpage:
In this blog, we discuss about how to get the total number of web links and all elements on webpage.
Steps to be automated:
Launch the web browser
Open the URL
Hi there,
This is an interesting blog if you want to use Mac OS like Genie effect on your Ubuntu machine then this blog might be useful for you. Follow these steps and at the end you will get changed minimized and maximized animations whic
This has been raised as a security concern blocking the release of my Cordova application on Android 4.4 KitKat
Using a SQLIte browser on a rooted device, the application session id cookie is being written in plain text into a SQLite table named COO
In Javascript you have a number of functions to genrate random numbers between two given digits. Some of them are inbulit and some you can create for your own, But the simplest way to perform the operation is the code below:-
// Returns a random int
We can use Bakery SSO module for single sign on in drupal 7. It works with portal or master site and sub-sites or slaves sites, it provides the following features:-
1) If login into the portal site and navigate to sub-site, user will be auto-login.
Hello Readers,
Most of the time when you work on the buddyPress, you wanted to style BuddyPress pages differently than a regular WordPress page, you need add a template file named buddypress.php to your theme’s directory and BuddyPress would use tha