2017 © Pedro Peláez
 

craft-plugin export

Export Plugin for Craft CMS

image

boboldehampsink/export

Export Plugin for Craft CMS

  • Thursday, April 5, 2018
  • by boboldehampsink
  • Repository
  • 5 Watchers
  • 49 Stars
  • 20,348 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 19 Forks
  • 17 Open issues
  • 20 Versions
  • 3 % Grown

The README.md

DEPRECATED - Export plugin for Craft CMS Build Status Code Coverage Scrutinizer Code Quality

Plugin that allows you to export data to CSV files., (*1)

Features: - Export Entries and Entry Types (All types or per type) - Export Users and User Groups - Export Categories - Sortable export field order - Renameable column labels - Ability to save your sort and column settings - Has a hook "registerExportSource" to add/replace exports with your own source. - Has a hook "registerExportOperation" to parse special export fields - Has a hook "registerExportService" to add your own Element Type export service. - Has a hook "registerExportCsvDelimiter" to specify your preferred CSV delimiter., (*2)

Todo: - Support JSON and XML output - Handle large exports more smoothly, (*3)

Important: The plugin's folder should be named "export", (*4)

Deprecated

With the release of Craft 3 on 4-4-2018, this plugin has been deprecated. You can still use this with Craft 2 but you are encouraged to use (and develop) a Craft 3 version. At this moment, I have no plans to do so., (*5)

Development

Run this from your Craft installation to test your changes to this plugin before submitting a Pull Request, (*6)

phpunit --bootstrap craft/app/tests/bootstrap.php --configuration craft/plugins/export/phpunit.xml.dist --coverage-text craft/plugins/export/tests

Changelog

0.5.10

  • Added Tags support (thanks to @timkelty)

0.5.9

  • Fixed bug if offset was an empty string

0.5.8

  • All service code is now fully covered by unit tests

0.5.7

  • Fetch elements individually for less memory consumption (thanks to @gijsstegehuis)

0.5.6

  • Show spinner while generating export (thanks to @gijsstegehuis)
  • Added the ability to register the preferred CSV delimiter via the registerExportCsvDelimiter hook

0.5.5

  • Added ability to pre-select export elementtype through query string (thanks to @gijsstegehuis)
  • Added Dutch translations (thanks to @rutgerbakker)

0.5.4

  • Fixed export history maps (thanks to @MRolefes)

0.5.3

  • Added the ability to control the sorting of data
  • Improved the display of dates
  • Improved the display of single option fields
  • Use Windows friendly newlines

0.5.2

  • Fixed multioptions fieldtype exporting

0.5.1

  • Use native php csv export function to generate more correct csv's

0.5.0

  • Added the ability to enter offset and limit for more control over the exported data and performance (#4)
  • Fixed export map checkbox styling
  • Added a registerExportService hook so you can write an export service for other/your own element type(s)
  • Fixed escaping of slashes in export data
  • Added MIT license

0.4.8

  • Export now runs the export map differently through the element model for better export results, closing issues #2 and #3

0.4.7

  • Added the ability to parse table checkboxes for export

0.4.6

  • Added the ability to export Users's preferred locale, week start day, last login date, invalid login count and last invalid login date
  • Clean up arrays before exporting, making them more readable

0.4.5

  • Added getCsrfInput function to forms

0.4.4

  • Even better field data parsing

0.4.3

  • Better field data parsing

0.4.2

  • Fixed a serious issue that led to not being able to run Export independently from Import

0.4.1

  • Added a hook "registerExportOperation" to parse special export fields

0.4.0

  • Added the ability to export parents and ancestors
  • Added the ability to pick your own column names
  • Added the ability to save column names and order
  • You can also clear this (with permission to "reset")
  • Fixed a lot of bugs with multiple title columns
  • Only escape double quotes in CSV
  • Ability to export fields that return an array

0.3.2

  • Allow multiple title columns when exporting multiple entry types

0.3.1

  • Added the ability to export all entrytypes in a section at once

0.3.0

  • Added the ability to export Categories
  • Added the ability to sort the export field order

0.2.4

  • Added the ability to export id's

0.2.3

  • Fixed wrong parsing of Lightswitch values
  • Fixed skipping of existing columns with NULL values

0.2.2

  • Mostly common bugfixes and improvements

0.2.1

  • Fixed a bug that would compromise exportSource data when multiple hooks were used

0.2

  • Added a "registerExportSource" hook, so you can replace/add/delete export data from your own plugin

0.1

  • Initial push to GitHub

The Versions

05/04 2018

dev-master

9999999-dev

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

21/07 2016

dev-develop

dev-develop

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

21/07 2016

0.5.10

0.5.10.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

02/03 2016

0.5.9

0.5.9.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

29/02 2016

0.5.8

0.5.8.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

09/09 2015

0.5.7

0.5.7.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

03/09 2015

dev-feature/history

dev-feature/history

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

03/09 2015

0.5.6

0.5.6.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

11/08 2015

0.5.5

0.5.5.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

09/06 2015

0.5.4

0.5.4.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

21/05 2015

0.5.3

0.5.3.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

13/04 2015

0.5.2

0.5.2.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

13/04 2015

0.5.1

0.5.1.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

09/04 2015

0.5.0

0.5.0.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

07/04 2015

0.4.8

0.4.8.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

30/01 2015

0.4.7

0.4.7.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

29/01 2015

0.4.6

0.4.6.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

10/12 2014

0.4.5

0.4.5.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

19/11 2014

0.4.4

0.4.4.0

Export Plugin for Craft CMS

  Sources   Download

The Requires

 

18/11 2014

0.4.3

0.4.3.0

Export Plugin for Craft CMS

  Sources   Download

The Requires