iqual/tasks-bundle

There is no license information available for the latest version (0.1.15) of this package.

0.1.15 2015-07-10 09:28 UTC

This package is auto-updated.

Last update: 2024-10-31 00:23:51 UTC


README

Provides generic layer for task management

Installation

composer require mpom/tasks-bundle

Add to your AppKernel.php:

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new TasksBundle\TasksBundle,
            // ...
        )
    }

Configuration

In your config.yml file add new options:

tasks:
    layout: AppBundle:Admin:Layout/custom.html.twig # optional, layout file
    entity_class: # your entity class
    template_list: # custom template for task list
    template_edit: # custom template for task edit

Add to app/config/routing.yml:

tasks:
    resource: "@TasksBundle/Resources/config/routing.yml"
    prefix:   /

Import database structure:

console doctrine:schema:update --force

Dump assets:

console assets:install --symlink

Usage

Navigate to //tasks page.