Giter VIP home page Giter VIP logo

cakephp-report-manager-plugin's Introduction

Report Manager Plugin for CakePHP 2.x

The report manager plugin can help users to create reports based on the application's models.

Changelog for version 0.4.6

  • enhacement: labelFieldList - create user friendly field labels
  • enhacement: localization files for european portuguese, spanish and brazilian portuguese.
  • bugfix: Excel file export utf8 character encoding
  • minor: new css styles
  • bugfix: use associated className to load associated model

Changelog for version 0.4.5.1

  • bugfix: php keyword added to saveReport method
  • bugfix: translation function correction

Changelog for version 0.4.5

  • bugfix: delete saved report does not refresh the list properly
  • bugfix: array index errors on loading reports

Changelog for version 0.4.4

  • enhancement: JS changes to work on non-root URLs

Changelog for version 0.4.3

  • bugfix: default.js : update after renumber position

Changelog for version 0.4.2

  • bugfix: order.ctp - test if OrderBy1 and OrderBy2 are set
  • bugfix: ReportsController listReports method - handle empty array

Changelog for version 0.4

  • Load and Save reports
  • Export to XLS

Changelog for version 0.3

  • One to many reports
  • Sortable fields by drag and drop ( step 1 )
  • Click to add field change background color ( step 1 )
  • Click in model name check/uncheck all fields ( step 1 )
  • SmartWizard validation ( step 1 )
  • Datepicker for date fields ( step 2 )
  • Checkbox to enable counter option ( step 4 )
  • Check box for one to many reports : show items with no related records ( step 4 )
  • Both jquery and jquery ui libraries are loaded from google

Installation

  1. Download the plugin from github or sourceforge

http://sourceforge.net/projects/repomancakephp/

https://github.com/luisdias/CakePHP-Report-Manager-Plugin

  1. Extract the zip file on the app/Plugin folder ( the plugin folder must be named ReportManager )

  2. Add the following line to your bootstrap.php file ( located at app/Config folder )

CakePlugin::load('ReportManager',array('bootstrap' => true));  

Since Cake 2.2.x it is important to add:

Configure::write('Dispatcher.filters', array(  
    'AssetDispatcher',  
    'CacheDispatcher'  
));

More info at:
http://book.cakephp.org/2.0/en/appendices/2-2-migration-guide.html

  1. Go to the url http://mycakeapp/report_manager/reports to see the main page listing all models

Using the plugin

The wizard interface is self explanatory.

  1. On the first tab you can select the fields and their position

  2. On the second tab you can define a filter

  3. On the third tab you can select up to two fields to sort

  4. On the last tab you can enter a name for your report and choose between 5 style options

Configuration:

Some parameters could be configured in the app/Plugin/ReportManager/Config/bootstrap.php

  • Display foreign keys

  • Ignore List for global fields ( affects all models )

  • Ignore list for models

  • Ignore list for specific model's fields

  • Reports directory path

  • User friendly field labels

Notes:

It was inspired by the Report Creator Component by Gene Kelly from Nov 9th 2006.

http://bakery.cakephp.org/articles/Gkelly/2006/11/09/report-creator-component

It also uses a Jquery plugin called SmartWizard by Tech Laboratory.

http://techlaboratory.net/products.php?product=smartwizard

Since version 0.3 the Report Manager Plugin load the jQuery and jQuery UI libraries from Google

Collaborators:
Suman (USA)
Santana (Brazil)
Tamer Solieman (Egypt)
jasonchua89
Tony George (Singapore)
Marduk netors (Mexico)

Luis E. S. Dias
Contact: [email protected]

cakephp-report-manager-plugin's People

Contributors

luisdias avatar netors avatar srs81 avatar

Watchers

 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.