1.2.1releasedRandom Entries Generator

A really quick way to create dummy entries for Symphony CMS

Clone URLhttps://github.com/DeuxHuitHuit/random_entries_generator.git

Add as a submodulegit submodule add https://github.com/DeuxHuitHuit/random_entries_generator.git extensions/random_entries_generator --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.0
NoNoNoNoNoNo1.2.11.2.1

Readme

Random Entries Generator

Version: 1.2.x

A really quick way to create dummy entries for Symphony CMS

TL;DR

  1. REQUIREMENTS
  2. INSTALLATION
  3. HOW TO USE
  4. SUPPORTED FIELDS
  5. DELEGATES
  6. Help, my field is blank!!!
  7. LICENSE

REQUIREMENTS

  • Symphony CMS version 2.6.x and up (as of the day of the last release of this extension)

INSTALLATION

  • git clone / download and unpack the tarball file
  • Put into the extension directory
  • Enable/install just like any other extension

You can also install it using the extension downloader. Just search for random_entries_generator.

For more information, see http://getsymphony.com/learn/tasks/view/install-an-extension/

HOW TO USE

  • Go on the publish index or edit page of a section.
  • Click on the "Create Random Entry" button.
  • Enjoy some beer.
  • Repeat.

SUPPORTED FIELDS

DELEGATES

This extension also provides developers with two delegates, EntriesPreCreateRandomData and EntriesPostCreateRandomData. Delegates are fire once per field and offers developer the ability to change field and/or generated data. Check the FieldAdapter::generateData() method for more information on those delegates.

Help, my field is blank!!!

In order to generate data for a particular field, this extension requires a field adapter that will populate the data in the database.

If a field stays blank, it's probably because the adapter for it does not exists. If the adapter does exists, it is also possible that it does not cover all cases.

You can look here to see if there is already an adapter for the field in question. If not, feel free to implement it (it's really easy!) and send a Pull Request.

LICENSE

MIT

Made with love in Montréal by Deux Huit Huit

Copyright (c) 2015

Version history

Symphony 2.6.0 to 2.x.x

        - Fixed a bug in Faker when locale is empty (again #2)
	

Symphony 2.6.0 to 2.x.x

        - Fixed a the redirection url again: should be 'created' not 'saved'
	

Symphony 2.6.0 to 2.x.x

        - Fixed a regression where Limit Section Entries would prevent the button from being included in unlimited sections.
	

Symphony 2.6.0 to 2.x.x

        - Fixed wrong url redirection
	        - Compatibility with Limit Section Entries
	        - Show the button on all publish pages
	

Symphony 2.6.0 to 2.x.x

        - Better localized data (#12)
	        - Basic formatter (markdown) support (#8)
	        - Basic validator support (#4)
	

Symphony 2.6.0 to 2.x.x

        - Supported on PHP 7
	        - Fixed author_id is missing
	        - Fixed some randomness issues (#7)
	

Symphony 2.6.0 to 2.6.x

        - Fixed missing width and height attributes for images
	        - Use min values instead of max values when generating an image (#5)
	

Symphony 2.6.0 to 2.6.x

        - Fixed wrong mime type for image uploads (#3)
	

Symphony 2.6.0 to 2.6.x

        - Fixed random seed
	        - Fixed a bug in Faker when locale is empty (#2)
	

Symphony 2.6.0 to 2.6.x

        - Use [Faker](https://github.com/fzaninotto/Faker) as the main source of random data
	        - Added support for new fields:
	            - [Address Location](http://symphonyextensions.com/extensions/addresslocationfield/)
	            - [Color Chooser](http://symphonyextensions.com/extensions/color_chooser_field/)
	            - [Date Time](http://symphonyextensions.com/extensions/datetime/)
	            - [Entry Relationship](http://symphonyextensions.com/extensions/entry_relationship_field/)
	            - [Image Upload](http://symphonyextensions.com/extensions/image_upload/)
	            - [Languages](http://symphonyextensions.com/extensions/languages/)
	            - [Multilingual Textbox](http://symphonyextensions.com/extensions/multilingual_field/)
	            - [Multilingual Image Upload](http://symphonyextensions.com/extensions/multilingual_image_upload/)
	            - [Multilingual oEmbed](http://symphonyextensions.com/extensions/multilingual_oembed_field/)
	            - [Number](http://symphonyextensions.com/extensions/numberfield/)
	            - [oEmbed](http://symphonyextensions.com/extensions/oembed_field/)
	            - [Order Entries](http://symphonyextensions.com/extensions/order_entries/)
	            - [Pages](http://symphonyextensions.com/extensions/pagesfield/)
	            - [Select Box Link](http://symphonyextensions.com/extensions/selectbox_link_field/)
	            - [Textbox](http://symphonyextensions.com/extensions/textboxfield/)
	

Symphony 2.6.0 to 2.6.x

        - First release, supporting only core fields