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

Section Fronts: with some help from Views Arguments Extras

Erik:

Section Fronts can mean a lot of different things. But in general they are a page that aggregates stories around a topic or section. I will run through using the Views Arguments Extras module to easily implement a section front concept in drupal.

Posted 04/28/2010 - 12:37 // 6 comments

Drupal 6 Theming for Module Developers - Suggesting TPLs From a Module

Irakli:

The ability to write self-contained modules (thank you, Hooks API!) and a very flexible theming layer are two important aspects behind the power and extensibility of Drupal. The following blog post describes how to leverage this power and write "proper" modules - modules that externalize all rendering logic into TPLs, suggest default implementation but allow themers to override default TPLs if needed. Several use-cases are discussed.

Posted 04/10/2010 - 13:08 // 2 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

Computed Field Module And How it Can Simplify Your Views

Tobby :

Sometimes, the node data that you want is not exposed to Views in the way that you want. Computed Field is a module that, with a little bit of raw PHP code, can help you bridge those gaps.

Posted 11/19/2009 - 11:58 // 2 comments

View Alias module upgraded for Drupal6

Eric :

I finally got around to it.

Posted 03/10/2009 - 19:23 // 1 comment

Drupal: 'Views2 Returns Zero Results but SQL Is Fine!' Problem

Irakli:

This has happened couple times, already, so I may as well blog about it. If you use Views in Drupal, you already know that it shows you the final SQL generated. Very useful feature, but there's a rare edge condition when the SQL returns results (if you run it from an SQL client), but Views shows zero elements. Extremely frustrating and confusing.

How can this happen?

Posted 03/03/2009 - 19:01

Phase2 Proposed Topics for Drupalcon DC 2009

Jeff:

DrupalConDC 2009 is just around the corner and we are starting to think seriously about the topics the Phase2 Technology dev team have proposed. Here are the three sessions we are most eager to discuss with the community. Please give us a vote on the site (http://dc2009.drupalcon.org/sessions) if you think you would be interested in these topics.

Posted 01/22/2009 - 00:31 // 1 comment

Using Node References on a Multilingual Website

Irakli:

CCK Node Reference is an excellent module that allows creation of complex relationships between content types in Drupal. Combine that with a Views2 feature called Relationships and you have one of the most sophisticated information architecture design tools any CMS has ever had. At least - if you stick to one language. When you are working on a multilingual website, things get complicated. In this blog post I will discuss how to properly configure node references on a multilingual Drupal website.

Posted 01/08/2009 - 03:57 // 3 comments

The Views2 Attachment Display

Eric :

With Drupal5 and Views, theming was very straight forward: just add a specifically named function and there you go. Views2 changes all of that, and that is frustrating at first.

Posted 10/03/2008 - 09:40 // 12 comments