Introduction to drush for drupal development

What is drush ? Drush is very popular and useful tool for drupal developers. It provides us shell access to the drupal commands and functions which otherwise had to be accessed using the menus provided in the drupal administration. It helps us to enable/disable modules, installs ¬†dependency modules automatically, manage users, permissions etc. For complete … Continue reading “Introduction to drush for drupal development”

[How to] General Introduction and Installation of Limesurvey

If you don’t know what limesurvey is? – Limesurvey is a great opensource survey application. It has been widely used by many big industries to create the survey tasks. It has many powerful features like creating dynamic fields for survey. Supports multilingual, defines userroles, user groups and the more it has been integrated into various … Continue reading “[How to] General Introduction and Installation of Limesurvey”

Flag of Nepal

Find visitor’s country using his ip address

I have created a small php class that parses the IP2country.csv file and finds the visitor’s country using his ip address. Installations: First download the latest ip address database from http://software77.net/geo-ip/ In right sidebar you will see Download, Select IPV4 CSV (gz). Here you can also download .zip file Then download the file. Place the … Continue reading “Find visitor’s country using his ip address”

Drupal Logo

hook_menu path not working in Drupal (6,7)

Right From Drupal website : This hook enables modules to register paths in order to define how URL requests are handled. Paths may be registered for URL handling only, or they can register a link to be placed in a menu (usually the Navigation menu). A path and its associated information is commonly called a … Continue reading “hook_menu path not working in Drupal (6,7)”