...

Drupal

Drupal site maintenance not affecting front page

function HOOK_preprocess_page(&$vars) { global $user; if (!in_array('administrator', $user->roles) && variable_get('…

...

CSS

Display a child div on hover using pure css (without javascript/jquery)

hey Guys, In this tutorial, we are showing you how to display a child div on hover on parent div having multiples section over that page, as we all…

...

Drupal

Prevent to Load a js file on particular page using hook_js_alter Drupal 7

Drupal provided the lots of hook to extents its functionality, using this we can prevent a js file to load on particular page using HOOK_JS_ALTER If…

...

PHP

How you can get Mailchimp API KEY

By Follow steps below, you can find the api key or create the api key at mailchimp and use it to your website to connected the site with mailchimp to…

...

PHP

How to get your MailChimp LIST ID

Mailchimp is marketing automation platform and is provide email for marketing your product or business whatever you like, today its most trusted…

...

PHP

Subscribe to Mailchimp programmatically via api with PHP

In this tutorial we can see how to subscribe to the mailchimp subscribe list using php programmatically via api, For this you need a mailchimp…

...

Command line

Update the drupal core using drush

##Drush is your friend I had used Drush previously so I knew it can be a real time saver. For anyone reading this who is not familiar with Drush, it…

...

MySQL

Import Mysql database using SSH

Follow these steps to Import the database Mysql (Putty Terminal). 1. Login to your putty terminal. 2.You need to login in to Mysql, for this…

...

MySQL

Export Mysql database using SSH

Export The database directly from command line is Easy and Fast. Follow these steps to export the database using SSH (putty terminal) 1. Open the…