Tag Archives: php

Altering Default Views in Code

Recently I had to modify a View shipped with another module. Specifically I had to tailor the Workbench Moderation view to contain additional column(s). Workbench Moderation supplies its own set …

Tags: , , , , , , , , , , , | Posted under Drupal | Leave a comment

Checking Database Type of a Field in Drupal

Recently I was asked how to check if a particular field in is stored as an INT(11) in a database. The user requested a function to do this check for …

Tags: , , , , , , , , , , | Posted under Drupal | Leave a comment

Drupal Setting Views Filter via Cookie

Recently I responded to a question on how to make a Views Filter respond to a Cookie value. Put another way — if I have a View and I want …

Tags: , , , , , , , | Posted under Drupal | Leave a comment