Giter VIP home page Giter VIP logo

statamic-todos's Introduction

#Todo - A Statamic Addon* Todo is an exploration into addon development for Statamic v2, which is now built on Laravel. To read the companion blog article, which outlines the process of Todo's creation, please jump over to the Zaengle blog!

Demo

##Installation & Configuration

  1. Download the files and place the Todo folder within your sites/addons directory.
  2. Configure the addon via the control panel, or by adding a todo.yaml to the site/settings/addons folder.

You may change the word that Todo uses to something else, such as "Task" or "Job" by visiting the addon configuration in the control panel, or by updating the todo.yaml file located in site/settings/addons directory.

##Managing Todos Once you have installed the addon you will see an additional navigation item in the sidebar of the control panel. Following this link will take you to the location where you add/complete/delete todos.

##Dashboard Widget

Todo offers a widget that will display a specific number of open Todos on the control panel dashboard. Set it up by adding the following to the Settings -> Control Panel -> Widgets section:

- 
  type: todo
  title: Todo
  limit: 3

##Template Tag

If you would like to display open Todos in your templates, you may do so with this tag:

<ul>
    {{ todo:show_open }}
        <li>{{ todo_title }} - {{ todo_added }}</li>
    {{ /todo:show_open }}
</ul>

###Notes *This addon is intended as an exploration into Statamic addon development, and is not a production-ready. We may get get there someday, but it's not ready yet :-)

statamic-todos's People

Contributors

jesseschutt avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.