How to implement facet search on data in drupal 7

By: Satyam Updhyay | Last Updated: | In: Drupal


In order to make such functionality you need to install couple of modules in your site. We will first make a Indexing engine which will index all your data and then we make blocks of specific data which will allow you to filter  all related data to itself. Modules to install for implementing Facet Search: …

Get your Geolocation usiing Java script and HTML5

By: Prem Tiwari | Last Updated: | In: Google, Javascript & Ajax, Web Technologies


In this tutorial, we’re going to dive into HTML Geo location and hook the position into Google Maps API, to show our current location on Google Maps! Sounds fun. In this post i will explain the to Get your Geo location using Java script and HTML5. HTML5 Geo location is basically used to locate the …

Upgrading your Yii framework Version from 1.0 to 1.1

By: Prem Tiwari | Last Updated: | In: Yii framework


Changes Related with Model Scenarios Removed CModel::safeAttributes(). Safe attributes are now defined to be those that are being validated by some rules as defined in CModel::rules() for the particular scenario. Changed CModel::validate(), CModel::beforeValidate() and CModel::afterValidate(). CModel::setAttributes(), CModel::getSafeAttributeNames() The ‘scenario’ parameter is removed. You should get and set the model scenario via CModel::scenario. Changed CModel::getValidators() and …

Top ten wordpress tutorials for wordpress developer

By: Prem Tiwari | Last Updated: | In: WordPress, WordPress Snippets


1. How do I show only the titles of articles on the site homepage? To show only the title of posts on the site homepage, using the WordPress Default theme as an example, in the wp-content/themes/default/index.php file you will find code similar to this:

2. How to add a favicon to your site? Add …

Basic features and installation of Yii Framework

By: Prem Tiwari | Last Updated: | In: Yii framework


In this post i will explain the Basic features and installation of Yii Framework. A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications, web services and web resources. The framework aims to alleviate the overhead associated with common activities performed in web development. …

Text box validation using jquery

By: Prem Tiwari | Last Updated: | In: Javascript & Ajax


This jQuery plugin makes simple client side form validation easy, whilst still offering plenty of customization options. It makes a good choice if you’re building something new from scratch, but also when you’re trying to integrate something into an existing application with lots of existing markup. This post describe the Text box validation using jQuery. …

How to create and use Mysql Trigger

By: Prem Tiwari | Last Updated: | In: Mysql, Oracle


Introduction to SQL Trigger A SQL trigger is a special type of stored procedure. It is special because it is not called directly like a stored procedure. The main difference between a trigger and a stored procedure is that a trigger is called automatically when a data modification event is made against a table whereas …

Get facebook fan page details using jquery

By: Prem Tiwari | Last Updated: | In: Facebook, Javascript & Ajax, PHP Tutorial


In this post i will explain how to get the facebook fan page details using Jquery. This is very easy and simple code which can implemented with any platform’s web applications. jQuery Code will get you Fan Page Name Fan Page Cover Page People Talking about Count No of Likes About Username Fan Page Category …

How to Integrate Paypal Payment Gateway in PHP

By: Prem Tiwari | Last Updated: | In: Mysql, PHP Tutorial


In this post I am explaining a easy steps to how to integrate Paypal Payment Gateway in PHP and work with Paypal Sandbox test accounts for payment gateway integration and sending arguments while click buy now button. In order to receive PayPal payments, you must have a PayPal account, registered with a valid email address. …

How to use jQuery.noConflict()

By: Prem Tiwari | Last Updated: | In: Javascript & Ajax


Many JavaScript libraries use $ as a function or variable name, just as jQuery does. In jQuery’s case, $ is just an alias for jQuery, so all functionality is available without using $. If you need to use another JavaScript library alongside jQuery, return control of $ back to the other library with a call …