Category Archive: Code

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

Read More…

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

Read More…

SSI is a Server Side Scripting Language used most commonly in many web applications. SSI will help in organizing files and templates for your application. SSI is used to include contents of another file in to a web page on the web server, similar to the include file statement we use in other server side

Read More…

When you are working in shopping cart site with Paypal you must wonder how to show multiple items in Paypal site during checkout. Its pretty simple.  You can add / pass n number of items to Paypal page for checkout instead of 1 single item with total price, if you do so the use may

Read More…

Reverse a string in PHP is pretty simple.  PHP provides inbuilt function to reverse a string PHP: strrev – Manual but knowing the logic of how it works is very simple and interesting. In the interview you may come across “Write a PHP function which should reverse the given string, condition u should not use

Read More…

Drupal features module provides the UI and API for exporting  the various component used in drupal  like content type, Views etc. In this post we are going to see the key features . The component  that can be exported by drupal are as follows, Content type CCK Views Taxonomy Menus User Roles Permissions Image Styles

Read More…

New Year’s time is always about thinking back and wondering if you did what all you set out to do. And it’s also the time you plan for the coming days. How quickly time does pass with some innovative ideas! The very big thing which has happened last year for me, I learned something multiple

Read More…

accounting.js is a tiny JavaScript library for number, money and currency formatting, with optional excel-style column rendering (to line up symbols and decimals). It’s lightweight, fully localisable and has zero dependencies. These library has settings like symbol : “$”, // default currency symbol is ‘$’ format: “%s%v”, // this controls string output: %s = symbol,

Read More…

AJAX stands for Asynchronous Java-script and XML. AJAX is used to allow web pages to interact with server asynchronously by exchanging some amounts of data with the server. This is mainly used because it will not reload the whole part of the web page. Ajax will fetch the result through “XMLHttpRequest” object instead of  “http Request“. In a webpage

Read More…

We can use this CSS Compressor made by CSS Drive to compress the CSS to increase loading speed and save on bandwidth as well. You can choose from three levels of compression, depending on how legible you want the compressed CSS to be versus degree of compression. The “Normal” mode should work well in most

Read More…