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
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
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 … Continue Reading
PHP image workshop using GD library is very easy tool for manipulating the images. Main key features of this script is as follows, Cropping Filter Re sizing Rotating Writing Usage is pretty simple :
// We initialize a layer object which has the norway picture as a background
// This layer will have the width and the height of the picture
$norwayLayer = new ImageWorkshop(
"imageFromPath" => "/path/to/images/norway.jpg"
// We initialize another layer object which has the watermark as a background
$watermarkLayer = new ImageWorkshop(
"imageFromPath" => "/path/to/images/watermark.png"
// Initialization of a document layer without specifying the path to an image.
// It will have a transparent background, we need to specify its width and height
$documentLayer = new ImageWorkshop(array(
"width" => $norwayLayer->getWidth(), // Same width than $norwayLayer
"height" => $norwayLayer->getHeight(), // Same height than $norwayLayer
// Now, we will add the picture layer in the document stack (of sublayers)
// We place $norwayLayer at the level 1 (just on the document background top)
// $watermarkLayer must be on the top of $norwayLayer background (so level 2) !
// We choose the position from the document borders:
// 12pixels from Left, 12pixels from Bottom ("LB") for example
$documentLayer->addLayer(2, $watermarkLayer, 12, 12, "LB");
Requirement :- PHP with GD library Demo & Download :- http://phpimageworkshop.com/ License :- GPL License
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 … Continue Reading
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 … Continue Reading
Drupal features module overview 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. Components that can be exported by drupal are as follows, Content type CCK Views Taxonomy Menus User Roles Permissions … Continue Reading
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 … Continue Reading
Nowadays almost everyone knows about Facebook, and its daily innovation on user interaction attracts the entire world. All Website Owners likes to have the same functionality of facebook in their website . jQuery Plugin fcbkListSelection allows you to easily create the friends selection functionality in your apps. You can use this feature for any action you wish … Continue Reading
Have you ever create a really good looking interactive map using HTML5 and jQuery? MigrationsMap.net allows you to see for every country X in the world either the top ten providing countries of lifetime migrants to X or the top ten receiving countries of lifetime migrants from X. On top of that, when you let … Continue Reading