Configure the layout and format of content and data presented to site visitors.

pn_nid

Roadmap

23 JUL 2013
This module now contains an submodule: Previous Next Field that provides a highly configurable Previous/Next field type. It is working, but needs quite a bit of work still. Right now the biggest roadblock is that I'm not sure if fields require some sort of DB storage or not (currently wading through the API docs). I'm storing "1" for each instance of this field currently, but that's not necessary; each instance of the field is identical. Perhaps it would be useful to store the actual previous next value in the field, but that kind of defeats the purpose of the original parent module's caching mechanism. And I still thing the original module is useful as a standalone.

Previous / Next Node ID

This module provides a function that retrives the previous and/or next Node ID
in a sequence as defined in a list of options passed as a param to the function
sorted by Node ID, Node Title, Published or Changed date. The queries used to
generate this sequence can be slow so this module also creates a table for
storage and quick retrieval of the values.

Sequences can be restricted by node status, node type and taxonomy terms.

USAGE

The following function is available after enabling the module:

<?php

Background Image Formatter

Adds image field formatter for placing a image in a background property of a CSS selector.

Comment Counter

This is a tiny module that basically extends Drupal's comment statistics module by adding comment counts for day, week, month and year. It also integrates with Views and you can use it to select, filter, order the content as well.

Integration

This module plays well and has been tested with Views. You can use these fields
in Content group

  • Comments today
  • Comments this week
  • Comments this month
  • Comments this year

You can also use those fields to order and filter content.

Dependencies

  1. Comment (Drupal 7.x Core)
  2. Views (Optional)

Installation

Download the module and simply copy it into your contributed modules folder:
[for example, your_drupal_path/sites/all/modules] and enable it from the modules administration/management page.
More information at: Installing contributed modules (Drupal 7)

Configuration

After successful installation, you need to activate the counter by going to
settings page admin/config/system/comment and check on "Count comments".

Pages

Subscribe with RSS Subscribe to RSS - Content display