How hook_form_alter works in drupal7 ?

By Satyam Updhyay in Drupal, Drupal Beginners. Updated on


Working strategy of hook_form_alter This hook perform the alterations before the form is submitted or rendered. This hook hook_form_alter($form, $form_state, $form_id), this hook has 3 parameters 1) $form: Nested array of form elements that comprise …

How to add default role to user while registration

By Satyam Updhyay in Drupal, Drupal Beginners. Updated on


Adding a default role to a user while registration and let them allow to enter their password while registering and make their account activate. To give the above authority to a user, Please Follow these …

Stop wordpress spam bot comment using htaccess

By Prem Tiwari in WordPress, WordPress Snippets. Updated on


In this post i will explain the how to Stop wordpress spam bot comment using htaccess. While denying access to comment spammers may be seen as drastic action, there are ways to prevent access to …

Free Responsive Bootstrap Admin panel Templates

By Prem Tiwari in Bootstrap, Freebies, JavaScript, Web Technologies. Updated on


In this tutorial i will explain the best and 100% free bootstrap templates for admin dashboard. If you are going to start a web application OR web admin panel, then see the is the lists …

Web-based mobile apps in drupal

By Prem Tiwari in Drupal, Drupal Beginners. Updated on


Web apps are HTML5, CSS, and JavaScript-based apps running in mobile browsers. There are two different ways of building mobile web applications that work with Drupal – integrated with Drupal at the theme layer, or …

Best jQuery Plugins & Tutorials with jQuery Demo examples

By Prem Tiwari in JavaScript. Updated on


jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.[2] It was released in January 2006 at BarCamp NYC by John Resig. It is currently developed by a team of developers …

10 best jQuery and HTML5 Rich Text Editors

By Prem Tiwari in Freebies, JavaScript, Web Technologies. Updated on


Here is a list of 10 best jQuery and HTML5 Rich Text Editors (RTE). They are all free, easy to use, and with great functionalities. Enjoy. HTML5 WYSIWYG (What You See Is What You Get) …

IMCE integration with CKEDITOR

By Satyam Updhyay in Drupal, Drupal Beginners. Updated on


Features of IMCE IMCE is an image/file uploader and browser that supports personal directories and quota. Basic file operations: upload, delete Image(jpg, png, gif) operations: resize, create thumbnails, preview Support for private file system Configurable …

How to implement facet search on data in drupal 7

By Satyam Updhyay in Drupal. Updated on


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 …

Get your Geolocation usiing Java script and HTML5

By Prem Tiwari in Google, JavaScript, Web Technologies. Updated on


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 …

Upgrading your Yii framework Version from 1.0 to 1.1

By Prem Tiwari in Yii framework. Updated on


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(). …

Top ten wordpress tutorials for wordpress developer

By Prem Tiwari in WordPress, WordPress Snippets. Updated on


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 …

Basic features and installation of Yii Framework

By Prem Tiwari in Yii framework. Updated on


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, …

Text box validation using jquery

By Prem Tiwari in JavaScript. Updated on


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 …

How to create and use Mysql Trigger

By Prem Tiwari in Mysql, Oracle. Updated on


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 …