The module helps admin and users to export the content of site objects in specific formats. The supported formats are defined by drivers and managed by administrator.
– Template of text data (if required).
– A method that returns the objects matching the search criteria with required fields.
Depending on settings in admin panel, export is carried out by cronjob or upon request.
There are two lists: export formats and selections.
An export format includes name, status, link to details, options to edit settings and fields. Settings are available if a driver supports an option to define additional settings. Fields can be edited if a driver supports an option to add fields to export. You can add or remove fields (name and type). There are the following field types: text, integer, file and URL.
A selection includes export name, driver name, object name, status, date of creation and actions (create, edit, delete or export a selection). There are three tabs on pages of creating or editing a selection: general settings, custom fields and selection criteria.
– Type of export (browser or file).
Type of export (upon request, on a certain date or by cronjob).
Allow users to change the criteria (you will see a link to the form where users can change criteria).
The other two tabs are available after general settings are saved.
‘Custom fields’ tab contains a list of established connections between driver elements and fields. Elements without established connections have two selects: available elements and fields available for the chosen element.
‘Selection criteria’ tab contains a form provided by the object module. Saved criteria are used for selection generation.
If the selection is enabled, the script checks the settings, and displays an error message if there are any issues.
Choose ‘Browser’ type of export and enable the selection to provide an export option for site users. Depending on whether you check ‘Allow users to change the criteria’ or not, a user will get a link to a form with option to change criteria or an export file in the necessary format.
seo — seo url generation.
The module provides a link used to export data.
Gets an exported selection. The method runs the process of data generation according to the specified selection. The result is a file with data in a certain format or an archive with photos and other files.