[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)”

Drupal Logo

[Solved] Add module to admin/config page in Drupal7

We are going to create a following custom block in admin/config page. To create a block in admin/config like those ‘People, Content Authoring, Media’ etc. We need to define two menu items as shown below [sourcecode language=”php” highlight=”3,13″]function products_menu() { $items = array(); $items[‘admin/config/products’] = array( ‘title’ => ‘Configure Products’, ‘description’ => ‘Allows administrators to … Continue reading “[Solved] Add module to admin/config page in Drupal7”

Xampp : Session Error

Below are the error in php due to session. This happens usually when server is unable to save the sessions data temporarily due to the improper path settings in session.save_path = “\xampp\tmp”. Solution is to set the session.savepath correctly to point to directory where server can find it easily. [php] Warning: session_start() [function.session-start]: open(\xampp\tmp\sess_nsvvoh9f5l55g063d7qka1lq72, O_RDWR) … Continue reading “Xampp : Session Error”