Chrono

Developer

TJ Draper

3rd Party (Free)

1 downloads (last 90 days)

BSD 3-Clause License Download v1.1.0

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Get years and months of channel entries.

Tag Pair

{exp:chrono:archive
    channel_id="8"
    category_id="2430"
    limit="4"
}
    {chrono:year}
    {chrono:year_count}
    {chrono:year_total}
    {chrono:year_total_entries}
    {chrono:month_total}
    {chrono:months}
        {chrono:short_digit}
        {chrono:two_digit}
        {chrono:short}
        {chrono:long}
        {chrono:month_count}
        {chrono:month_total_entries}
    {/chrono:months}
{exp:chrono:archive}

Tag pair parameters

channel_id="3|34"

Defaults to all channels

author_id="34|56"

Defaults to all authors

category_id="44|2"

Defaults to all categories

limit="4"

Defaults to false (no limit)

year_sort="asc"

Defaults to "desc"

month_sort="asc"

Defaults to "desc"

show_expired="true"

Defaults to false

show_future_entries="true"

Defaults to false

status="custom|other"

Defaults to open. Also takes the "not" operator.

status="not open"

namespace="archive"

Defaults to "chrono". All variables are prefixed with the namespace.

Tag Variables

All examples assume the default namespace of "chrono"

{chrono:year} (single tag)

The 4-digit year

{chrono:year_count} (single tag)

This works just like {count} in a channel entries tag pair. This is the loop count.

{chrono:year_total} (single tag)

This works just like {total_results} in a channel entries tag pair. This is the total number of years being output by the tag.

{chrono:year_total_entries} (single tag)

The total number of entries for the year based on your tag parameters.

{chrono:month_total} (single tag)

This is the total number of months with entries in this year. For instance if February and April are the only months with entries for the current year the tag is outputting, then {chrono:month_total} will be 2.

{chrono:months} (tag pair)

This tag pair outputs a loop of the months for the current year being output by the tag.

Tag Variables for {chrono:months}
{chrono:short_digit} (single tag)

This outputs the month number without the leading zero. Example: 9

{chrono:two_digit} (single tag)

This outputs the month number with a leading zero. Example: 09

{chrono:short} (single tag)

This outputs the short month name. Example: Sept

{chrono:long} (single tag)

This outputs the full month name. Example: September

{chrono:month_count} (single tag)

This works just like the {count} variable in a channel entries loop. It is the current count of your month loop.

{chrono:month_total_entries} (single tag)

The total number of entries for the month based on your tag parameters.

Download Chrono

EE Support Downloads Add-On Version Release Date
2.9.0+ Download 1.1.0 May 14, 2015

Chrono Links

This entry was created May 12, 2015, 9:11 am.
This entry was last updated March 9, 2016, 1:55 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!