Batch work and author limits
Audience: administrators and content managers.
Time: 10 minutes.
New in 5.5: batch processing can set custom field values; author limits can be fixed independently of the “Override category configuration” option and include/exclude subcategories.
1. Process multiple items at once
- Open Components > FLEXIcontent > Items.
- Check the items to process.
- In the bulk actions dropdown, choose Batch (“Update / Copy / Move”).
- Choose the mode:
- Copy (
method=1): creates copies; - Update (
method=2): modifies selected items; - Copy & update (
method=3): copies then modifies the copies.
- Copy (
- Set common options: copy prefix/suffix and count, language, state, type, access, main/secondary category, tags.
- Launch the processing.
:::warning Move rights
Move refuses items you do not have the right to edit. A copy may be allowed for non-editable items depending on the copytask_allow_uneditable setting, but a move never is. Skipped items are counted in the final message (FLEXI_ROWS_SKIPPED).
:::
2. Set custom field values in batch (new in 5.5)
In the Batch window, open the Custom fields section:
- In the Field selector (“Select a field to set...”), choose the field to fill.
- A field card appears with its form and a mode selector:
- Add to existing values (
add): adds to present values; - Replace existing values (
replace): replaces present values; - Set only if empty (
fill): fills only empty fields; - Clear values (
clear): empties the field.
- Add to existing values (
- Fill the value, then add other fields if needed.
- Launch the processing.
Values are applied to updated items or to new items created by a copy. Fields not assigned to an item's type are ignored for that item, with a summary message. flexicontent.editfieldvalues rights and locking (checked_out) are checked for each item. Non-translatable items have their translations updated with the same value.
Values go through field plugins: validation is identical to the item edit form. If language or state are omitted, existing data is not corrupted.
3. Limit an author's items on the site
These settings apply to a Category menu item using the author layout.
- In Menus, create or edit a menu item pointing to a category.
- Choose the author layout.
- In Request parameters:
- Select one author (
authorid): author to display; - Limit author items to categories (
cids): included categories; - Exclude categories from author items (
excl_cids): excluded categories.
- Select one author (
- In Basic parameters:
- Max author items in total (
author_limit_total): maximum items across all categories (0= unlimited); - Max author items per category (
author_limit_per_cat): maximum per category (0= unlimited). The first items according to list order are kept; an item assigned to several categories is counted only once.
- Max author items in total (
- Save the menu and display the corresponding page.
Behavior (5.5)
- Limits apply only to the
authorlayout, not to other category views. - They are read from menu parameters even when Override category configuration is disabled.
- Included and excluded categories also apply to their descendants.
- Pagination takes limits into account: the displayed total is recalculated after filtering.