Maya calendar sample

Description

A very simple module to help in writing down a date in Maya notation without having to know how to convert a Julian date to a Maya date.

For detailed information:

The module is capable of rendering the Maya date in Arabic or in Maya numerals (see sample on the right side.) The Maya numerals can be written left to right or top to bottom. The characters themselves can be written horizontally (like Wikipedia) or vertically (like in the world calendars.)

Sponsor: Made to Order Software Corporation

Installation

Install the module in your Drupal /sites/all/modules folder.

Turn the module on (In package: Filter inputs).

Go to your Input formats and select the one that will support the Maya date filter (you can of course define it in all of them, this module is quite safe!)

In the list select the Maya date filter and hit Save.

Since the Save brings you back to the list of filters, click on that same filter again. Now the Maya date filter is selected, click on Configure. You now see a list of configuration options (unless you do not have permissions to see them, ask the Admin user to fix that...)

Available Options

  • Output type (text or image) and orientation
  • Text date separator
  • Image alignment
  • Width of a dot in the characters (i.e. diameter, default to 5 which is the minimum size)
  • Background color (defaults to white)
  • Text color (defaults to black)

Security

For the date to appear in Maya numerals, I use the path

      /mayadate/<format number>/<date>

You can test here: http://animals.m2osw.com/mayadate/6/now

By default, that path is protected. You need to change your permissions so your users can see the result.

Similarly, the setup of the Maya date Input format is protected by a permission flag.

Project Information

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.2 tar.gz (20.35 KB) | zip (21.32 KB) 2010-Apr-21 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (20.25 KB) | zip (21.17 KB) 2011-Feb-25 Notes

Maintainers for Maya Date

  • AlexisWilke - 4 commits
    last: 1 year ago, first: 2 years ago

Issues for Maya Date

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here