Version: 1.1.x
A really quick way to create dummy entries for Symphony CMS
- Symphony CMS version 2.6.x and up (as of the day of the last release of this extension)
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/
- Go on the publish index or edit page of a section.
- Click on the "Create Random Entry" button.
- Enjoy some beer.
- Repeat.
- All core fields (author, checkbox, date, input, select box, tag list, textarea, upload)
- Address Location
- Color Chooser
- Date Time
- Entry Relationship
- Image Upload
- Languages
- Multilingual Textbox
- Multilingual Image Upload
- Multilingual oEmbed
- Number
- oEmbed
- Order Entries
- Pages
- Select Box Link
- Textbox
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.
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.
Made with love in Montréal by Deux Huit Huit
Copyright (c) 2015