As discussed in earlier post Drupal 7 Multisite install is very interesting topic to work on in both Windows and Linux. Why Drupal 7 Multisite Install ? Refer Drupal 7 Multisite Install steps in Windows Steps for Drupal 7 Multisite install Linux: Assuming your web-directory is /var/www/html/ #1 Once you have decided the multisite, create a folder under sites refer the above … Continue Reading
Drupal 7 Multisite Install steps in Windows
Drupal 7 Multisite install is very interesting topic to work on. Why Drupal 7 Multisite Install ? When coming to web applications like Drupal there are many features to utilize on it and “Multisite” is one among them. Multisite is needed when you want to maintain Single code base for Multiple Drupal 7 sites. Steps for … Continue Reading
Drupal 7 hide content type from search results
In Drupal 7 hiding content type from search results in your application is pretty simple. Hook node access alter will provide the interface to bypass the search result query.
Hide content-type For example if there is a content type called “some_type” in your application, which you don’t want to show in your search result … Continue Reading
<?php $base_url = "http://yoursitename.com"; ?>
var url = "My Site URL <?php echo $base_url ?>.";
But we can pass … Continue Reading
How to install and upgrade Drush version in Linux ?
When I was working in one of my Drupal projects I faced a few issues with Drush commands like Site install, to resolve this you have to upgrade Drush version. I faced the issue with command not executed and ended up with some errors. I searched in Google for trouble shooting this issue but after spending hours in Google I … Continue Reading
Commonly used Drush commands Drupal Developers must know
What is Drush ? Drush is a command line utility tool for Drupal. It is a Drupal Shell which allows us to manage our site remotely through command line. Why do we need Drush ? It Saves Lots of Time by doing many Drupal operations in a faster and efficient way. Although Drupal is Awesome there … Continue Reading
Custom Validate and Submit function for Login, Register & Forgot password modules in Drupal 7 ?
Why and Where we need custom override ? Drupal 7 has its own core functionality for Login, Register & Forgot-Password module. In some project cases there will be need of changing the functionality of these core modules. In that case we should not over write the core modules to achieve the functionality instead we should override the … Continue Reading
How to get Apache Solr URL in Drupal 7 themes/ modules/ templates
Apache Solr Search Integration is a drupal module that provides Search API that can be used as a replacement for core content search and boasts both extra features and better performance. This module integrate Apache Solr Search Platform and Drupal. . In order to check Whether Apache Solr is down in your server you need … Continue Reading
How to create a template for page created in drupal Admin with URL alias
Drupal theme layer gives us the flexibility to theme all the data used through out the site. We can also theme the page created from the drupal admin panel. To Create a template for Basic Page Content type with URL alias follow the below steps. Step 1: First create a page from drupal admin and … Continue Reading
How to create a sub theme in drupal 7
Drupal provides a simple way to inherit the base themes through the concept called subtheme. Advantages of Creating Sub theme: No need of hacking the core themes All the styles of base theme will be inherited to sub theme, less coding Lets see how to create a sub theme in drupal. For this example i … Continue Reading