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

Menu Origin Default

If you go to a node form and come from a page with a menu item, the page you came from will be set as the default parent item.

Browscap Context

Provides a simple context condition to get the mobile state of a browser based on values coming from Browscap.

Context Megamenu

This module add ability to create flexible megamenus for main menu using context editor,

User Avatar Styles

Adds tokens for all available image styles to display the user avatar.

Book Slider

Many Drupal sites, particularly in education, organise content in Books. Have you ever wondered if you could navigate these books just like in an e-reader?
That is what this sandbox is for. Book Slider is a module that replaces the standard book navigation with a touch compatible, ebook like slider at the bottom of the page. Tapping, or clicking in the content area brings it up or hides it. You can slide back or forward through all the pages of the book, seeing the title and page number, and the selected page will load when you lift your finger or mouse up. Additionally tapping/clicking in the book margins will move forward and back between adjacent pages.

Book Slider details:
A small module that implements a touch/mobile friendly navigation for Drupal books, similar to an ebook reader.
The configuration allows for removing the standard book navigation elements i.e. the pref/up/next links.
Book slider currently uses JQuery Mobile and so you need to first use JQuery Update module to update to the latest JQuery library.
Currently jQuery Mobile is included in the module directory, later it will get moved out to the libraries directory.
If you want a book-like experience then design your site without sidebars and keep each book page to a normal page length.

Relative timestamps

This module aims to provide an extra display formatter for Date fields from the Date module. As the supplied timestamp gets older, less accurate information will be shown. Future dates and end dates are also supported.

Usage example

This module is intended for developers who need a timestamp as currently being featured on Facebook. Likewise the module could be used in conjuction with activity stream modules such as Message, Heartbeat and Activity.

Supported time strings

  • # second(s) ago / in # second(s)
  • # minute(s) ago / in # minute(s)
  • # hour(s) ago / in # hour(s)
  • yesterday / tomorrow
  • # days ago / in # days
  • # month(s) ago / in # month(s)
  • # year(s) ago / in # year(s)

If an end date has been provided, the module will return the correct time string depending on the situation:

  • from ### ago until ### ago
  • from ### ago until ### from now
  • from in ### until ### from now
  • + some slight alterations for the cases yesterday / tomorrow

Output example

Date field is set at 2013-02-20 21:00:00 UTC

Pages

Subscribe with RSS Subscribe to RSS - Content display