Make your carousels start seamlessly at a random slide

Brad :

If you've implemented a carousel using viewscarousel, you may have wondered how to make the carousel start at a random element. There are several ways to accomplish this and seamlessly start at a random element.

Posted 08/30/2010 - 14:33

Using a settings page to change the number of results in a view

Brad :

Many sites have views that are used to generate a large number of sections/pages on the site, and you may want to easily change the number of results without having to edit the view. It's easy to create a settings page that will allow you to configure the number of results.

Posted 07/29/2010 - 13:09 // 1 comment

Using the command line to get memcache statistics

Brad :

There are GUI tools that show the performance and statistics of your memcache servers. However, if you just want a quick answer to some simple questions, you can use basic commands and save the time of installing and configuring the tools.

Posted 07/07/2010 - 13:12

Enabling OpenID to work when anonymous user sessions are disabled

Brad :

If you have a Drupal installation, such as Pressflow, that does not initialize sessions for anonymous users, you may have found that the OpenID module does not work correctly. There is an easy way to fix this without resorting to a core patch.

Posted 05/18/2010 - 14:07 // 3 comments

Adding effects to your Drupal jCarousel implementation

Brad :

Many sites make use of the jCarousel and viewscarousel modules for Drupal to display slideshows of content. But what you may not know is that there are many ways to add effects to your carousels beyond the standard configuration options.

Posted 05/06/2010 - 09:02

Filtering Apache Solr search results based on dynamic fields

Brad :

You may often have content in Drupal that should not appear for certain user roles. There are many ways to accomplish this in the CMS, but restricting them from search results is often overlooked. If you are using Apache Solr for your search engine, you can use the apachesolr module's hooks to determine what search results are returned.

Posted 04/27/2010 - 09:02 // 3 comments

Using hook_views_query_alter to change your views sort order

Brad :

Sometimes you might need some extra help getting views to sort correctly. This is especially the case when sorting on a column that might include NULL values, or when your criteria for how results should sort is complex. Instead of implementing template logic to correct the result sorting, you can use hook_views_query_alter to modify the sort criteria in the query itself.

Posted 11/24/2009 - 11:05