Yogesh Chaugule's Blog

How to setup Virtual Hosts in WAMP

Starting with WAMP, it allows developers to setup site in their local machine just like we setup on dev or production server. I've installed WAMP in my "C:\" drive. After installing WAMP, we get a directory called "C:\wamp\www" which we can directly access using "http://localhost" and any files and directory inside it by appending that to localhost. Suppose I've example as a directory in my "C:\wamp\www" directory so I can access it using my web-browser directly with "http://localhost/example".

Display CTools modal on page load - Drupal 7

Chaos Tool Suite is one of the best API module to use. The module mainly provides API.

I've worked on ctools before to create multi-step form and show that in popup. This time I'm working on a project which has a Quiz in it which is built using ctools. The site was having a requirement of displaying Quiz form when user clicks on link from E-Mail.

So to display ctools modal on page load we've to add below jQuery Code:

Drupal - Change label of exposed filter form button in views

Views one of the great module available in Drupal. Views can be used to show various types of dynamic data and can also be used to allow users to filter results based on his criteria. To allow users to filter results based on his criteria we normally use views "exposed filter" option in every filter we add in view (screenshot 1.0).