Robert Kent


Personal blog of Robert Kent

Drupal: Creating a View of files associated with the current node

In Drupal you can create a content type with a File field that allows multiple values. This means that when a new node is created you can upload several files to attach to the node. When this list is displayed on the front end it is shown as a list in the order the files are in on the edit … Read More


Drupal: Custom ordering of Views with drag and drop

Views in Drupal 7 are a great way of displaying lists of content such as news articles, blog posts or image galleries. By default Views comes with a lot of useful ways to sort these lists: alphabetically by title, chronologically by post date, e.t.c but sometimes there are cases where the order items are displayed in is arbitrary and a … Read More


PHP: Download an array as a CSV file