...

Other

Redirect Old Domain to New Domain via .htaccess

Usually we develop the site on developement or subdomain and when we finally mirgate the to new domain then some of thing will remain or page…

...

Javascipt

Jquery prevent enter to submit form

If you want to prevent the form submit using jquery, then this page helps you to doing this. jQuery(document).ready(function() {…

...

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…