Drupal

Recent in Drupal

Drupal 7: How to remove throbber image from ajax links and create a custom throbber.

In this howto, we will see how to remove the blue throbber image and related markup when you click on an ajax link and replace with a custom throbber image.

Any form element or link can be made ajax by setting #ajax property. But #ajax property is tied closely to drupal form elements. There is another way in drupal to convert a link to use ajax, by setting 'use-ajax' class. But for those links the progress type is always throbber.

In this howto we will look at one of the many ways to change to our custom throbber.

Drupal 7: Convert user login block to use ajax

In this simple how to we will see how we can easily convert drupal 7 user login block to use ajax. This is one of the many methods of using ajax for login block. We will see few cool d7 tricks that makes this very easy.

Before we start lets checkout a quick demo

Syndicate content