sterc / batcher Goto Github PK
View Code? Open in Web Editor NEWThis project forked from splittingred/batcher
A batch editor for Resources and Elements for MODX Revolution
Home Page: http://modx.com/extras/package/batcher
This project forked from splittingred/batcher
A batch editor for Resources and Elements for MODX Revolution
Home Page: http://modx.com/extras/package/batcher
not showingin menu after install
i can see it in settings-menu, but can't see it in user interface of admin panel
modx version 2.8.1
It would be nice to be able to have multipe advanced filters with AND and OR options. So for example you can have queries like template = 5 AND pagetitle LIKE '%pagetitle%'
.
Two buttons on the right in the advanced filter row for AND and OR, clicking on them adds a new row below where you can enter your filter options.
From: splittingred#27
I needed to migrate over one hundred resources from one context to another. This is the sort of task that Batcher would be perfect for. Thanks!
From: splittingred#17
Self Explanatory. Useful when you use a title and description that is identical / contains variables that make it unique per page.
From: splittingred#16
I am trying to change a single tv value on a template. This tv is not a required tv, however there are other tvs applied to this template that are.
When I try to save my 1 change, all of the required tvs turn red and state "this field is required".
These required tvs already have values saved, they are just not updated in batcher and I do not want to update them.
From: splittingred#29
Being able to duplicate resources while specifying the target parent resource would be incredibly helpful.
Feature request to bulk update an entire section using the same template but not across all context.
We have a scenario where we're using Babel for internationalisation with four context, English, Spanish, German and Chinese, across all the contexts there are hundreds of articles but we need to only update the template for the English language section, and leave the other three contexts with the old template.
Being able to filter by context would be useful for a situation like this.
In the current situation there's not a lot of room for all the filter options. My proposed solution:
2 rows with filter options:
first row: {bulk actions} {published} {context_key} {search text field} { x (clear filter) }
second row: {field dropdown} {filter type} {value}
The second row is hidden by default, and can be activated by clicking on a 'Advanced filter' button on the right side.
From: splittingred#24
when I update from version 1 to version 2.0.0, I see bug:
empty tab resources in Batcher.
In console js error: "Uncaught SyntaxError: Unexpected token <"
When trying to search for a filter js error "Uncaught SyntaxError: Unexpected token <"
From: splittingred#26
Occasionally we run in to the need to turn off the container checkbox on a mass amount of resources. Honestly I just wish that after you removed children from a parent that the container checkbox as disabled by default in MODx. However if we could do this in Batcher that would help a lot!
Tested version: 2.0.0-pl
On MODX 3 version: git install from 06-03-2021
Console running...
Attempting to install package with signature: batcher-2.0.0-pl
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
modx.modNamespace is deprecated since version 3.0. Replace references to class modx.modNamespace with MODX\Revolution\modNamespace to take advantage of PSR-4 autoloading.
modNamespace is deprecated since version 3.0. Replace references to class modNamespace with MODX\Revolution\modNamespace to take advantage of PSR-4 autoloading.
modNamespace is deprecated since version 3.0. Replace references to class modNamespace with MODX\Revolution\modNamespace to take advantage of PSR-4 autoloading.
modx.modCategory is deprecated since version 3.0. Replace references to class modx.modCategory with MODX\Revolution\modCategory to take advantage of PSR-4 autoloading.
modCategory is deprecated since version 3.0. Replace references to class modCategory with MODX\Revolution\modCategory to take advantage of PSR-4 autoloading.
modCategory is deprecated since version 3.0. Replace references to class modCategory with MODX\Revolution\modCategory to take advantage of PSR-4 autoloading.
modSystemSetting is deprecated since version 3.0. Replace references to class modSystemSetting with MODX\Revolution\modSystemSetting to take advantage of PSR-4 autoloading.
modSystemSetting is deprecated since version 3.0. Replace references to class modSystemSetting with MODX\Revolution\modSystemSetting to take advantage of PSR-4 autoloading.
[Batcher] batcher.user_name setting could not be found, so the setting could not be changed.
[Batcher] batcher.user_email setting could not be found, so the setting could not be changed.
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
Could not find legacy class modTransportPackage after converting to MODX\Revolution\modTransportPackage
Could not load class: modTransportPackage from mysql.modtransportpackage
Could not get table name for class:
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
Error 42000 executing statement: Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS `latestPackage` WHERE `latestPackage`.`package_name` = `modTransp' at line 3 )
modx.modMenu is deprecated since version 3.0. Replace references to class modx.modMenu with MODX\Revolution\modMenu to take advantage of PSR-4 autoloading.
modMenu is deprecated since version 3.0. Replace references to class modMenu with MODX\Revolution\modMenu to take advantage of PSR-4 autoloading.
modMenu is deprecated since version 3.0. Replace references to class modMenu with MODX\Revolution\modMenu to take advantage of PSR-4 autoloading.
Successfully installed package batcher-2.0.0-pl
The add-on is installed, visually works. But when checking the functionality, nothing is applied. The demo video is presented at the link.
Go through the different features it offers (i.e. different ways of using a snippet or settings)
Video: https://yadi.sk/d/2jDrdPJ6N6ZS5Q
[2021-03-06 20:12:43] (WARN @ /Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/filters/getlist.class.php : 20) PHP notice: Undefined variable: excludeArray
2021-03-06 20:13:03] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changetemplate", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changetemplate.class.php"
[2021-03-06 20:13:10] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changetemplate", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changetemplate.class.php"
[2021-03-06 20:16:26] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changeparent", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changeparent.class.php"
[2021-03-06 20:16:38] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changedates", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changedates.class.php"
and etc error
NA
needs work
If you don't check any box and try to perform an action, nothing wil happen. The actions won't be clickable. It'll be impossible to perform an action, but no feedback is provided. In the context of usability, it would be nice to provide a message like: 'Please select a resource to perform the action on first!'. This would especially improve first-time user experiences.
From: splittingred#13
Right now the combobox just lists the available templates, but doesn't allow you to set it back to no template.
[1]
from: splittingred#8
From: splittingred#15
It would be great to be able to filter the list of resources based on their context_key
This would allow for manipulation of resources to new resource types, such as those used for MoreGallery.
requested by @hephaestoskin splittingred#28
Add a button 'batch create' or 'create multiple', which opens a window with the following fields:
[16]
When resources are moved to another context by just changing the parent with Batcher, the context of the resources are not changed accordingly. This creates inconsistencies, e.g. in UltimateParent.
From: splittingred#30
When trying to batch change the TV values of a specific template the area where options are meant to be selectable nothing appears.
Checked broswer console and there aren't any error messages. Tried in Safari, Firefox and Chrome. Disabled AdBlock as well.
MODX 2.2.14-pl traditional + Batcher 1.1.1 + PHP 5.4.25
[0.25]
Now more developers are using the MODX custom Class Keys (e.g. Articles, Grid Class Key, Collections, SimpleCart, etc) it would be useful if Batcher could also rapidly change multiple resource class keys.
from: splittingred#9
From: splittingred#10
Ability to update the values of TV of resources. Specially when it is a new TV that is going to be applied to a lot of docs or all of them, right now we need to go to each resource and change the TV. Or write a snippet to do it automatically. Would be great to do it in batcher bulk mode...
from: splittingred#12
to reproduce this:
voilá - there went batcher :)
Tested in latest Chrome, Safari & FF4.
btw single quotes ' in the pagetitle are fine.
[1]
original: splittingred#2
Would be nice to be able to bulk enable/disable plugins in the Elements tab, when filtering on Plugins.
From: splittingred#31
I have seen many similar requests on the forums and there is nothing like this available. Not even in the new ModX 2.3 version. This feature would definitely complete this plugin.
From: splittingred#25
It would be cool also to have the possibility to change the value of the 'empty cache' option.
What do you think?
Add an export button to save the selected resources/elements to a json file, and an accompanying import button to import from a json file. Also includes related objects (for example TV values or resourcegroups of a resource).
Import function has to have some logic for checking if the objects exist, by checking for duplicate ID's and giving the user the ability to overwrite, merge or create new.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.