splittingred / batcher Goto Github PK
View Code? Open in Web Editor NEWA batch editor for Resources for MODx Revolution.
Home Page: http://docs.modxcms.com/display/ADDON/Batcher
A batch editor for Resources for MODx Revolution.
Home Page: http://docs.modxcms.com/display/ADDON/Batcher
Self Explanatory. Useful when you use a title and description that is identical / contains variables that make it unique per page.
This would allow for manipulation of resources to new resource types, such as those used for MoreGallery.
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.
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...
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.
Thanks for this tool. It's a big help.
This is just a step away from something very cool. Maintaining a bulk sheet for a large number of resources in Excel and using this sheet to update all of your resources in one giant batcher upload. It's a lot easier than updating each resource in Modx and allows bulk update of things like alias, content type, etc...
If the pagetitle is identical, then batcher would add/replace fields based on the bulk sheet contents. Any existing fields would be overwritten, Any new fields would be created. Currently, batcher would create a new resource of the same name I believe.
If the pagetitle does not already exist then batcher will create a new resource (like it does now).
It would be cool also to have the possibility to change the value of the 'empty cache' option.
What do you think?
After installing Batcher the following errors appear in my Javascript console:
POST http://www.peatbogfaeries.com/assets/components/batcher/connector.php 500 (Internal Server Error)
iext-base.js:7
Ext.lib.Ajax.k.requestext-base.js:7
Ext.extend.requestext-all.js:7
Ext.extend.doRequestext-all.js:7
Ext.extend.requestext-all.js:7
Ext.data.Store.Ext.extend.executeext-all.js:7
Ext.data.Store.Ext.extend.loadext-all.js:7
MODx.grid.Gridmodx.grid.js:112
Batcher.grid.Resourcesresource.grid.js:102
createext-all.js:7
Ext.Container.Ext.extend.createComponentext-all.js:7
Ext.Container.Ext.extend.lookupComponentext-all.js:7
Ext.Container.Ext.extend.addext-all.js:7
(anonymous function)ext-all.js:7
Ext.apply.eachext-base.js:7
Ext.Container.Ext.extend.addext-all.js:7
Ext.Container.Ext.extend.initComponentext-all.js:7
Ext.Panel.Ext.extend.initComponentext-all.js:7
Ext.Componentext-all.js:7
Ext.apply.extend.Lext-base.js:7
Ext.apply.extend.Lext-base.js:7
Ext.apply.extend.Lext-base.js:7
createext-all.js:7
Ext.Container.Ext.extend.createComponentext-all.js:7
Ext.Container.Ext.extend.lookupComponentext-all.js:7
Ext.Container.Ext.extend.addext-all.js:7
(anonymous function)ext-all.js:7
Ext.apply.eachext-base.js:7
Ext.Container.Ext.extend.addext-all.js:7
Ext.Container.Ext.extend.initComponentext-all.js:7
Ext.Panel.Ext.extend.initComponentext-all.js:7
Ext.TabPanel.Ext.extend.initComponentext-all.js:7
Ext.Componentext-all.js:7
Ext.apply.extend.Lext-base.js:7
Ext.apply.extend.Lext-base.js:7
Ext.apply.extend.Lext-base.js:7
Ext.apply.extend.Lext-base.js:7
MODx.Tabsmodx.tabs.js:22
createext-all.js:7
Ext.Container.Ext.extend.createComponentext-all.js:7
Ext.Container.Ext.extend.lookupComponentext-all.js:7
Ext.Container.Ext.extend.addext-all.js:7
(anonymous function)ext-all.js:7
Ext.apply.eachext-base.js:7
Ext.Container.Ext.extend.addext-all.js:7
Ext.Container.Ext.extend.initComponentext-all.js:7
Ext.Panel.Ext.extend.initComponentext-all.js:7
Ext.Componentext-all.js:7
Ext.apply.extend.Lext-base.js:7
Ext.apply.extend.Lext-base.js:7
Ext.apply.extend.Lext-base.js:7
MODx.Panelmodx.panel.js:9
Batcher.panel.Homehome.panel.js:47
createext-all.js:7
Ext.extend.loadmodx.js:72
Ext.extend._loadComponentsmodx.component.js:68
MODx.Componentmodx.component.js:10
Batcher.page.Homehome.js:13
createext-all.js:7
Ext.extend.loadmodx.js:72
Batcher.page.Home.confighome.js:2
h.Event.nameext-all.js:7
bext-all.js:7
POST http://www.peatbogfaeries.com/assets/components/batcher/connector.php 500 (Internal Server Error)
2
ext-all.js:7Uncaught SyntaxError: Unexpected token <
doDecodeext-all.js:7
(anonymous function)ext-all.js:7
Ext.extend.onStoreExceptionmodx.grid.js:125
h.Event.fireext-all.js:7
h.Observable.fireEventext-all.js:7
relayEvents.dext-all.js:7
h.Event.fireext-all.js:7
h.Observable.fireEventext-all.js:7
(anonymous function)ext-all.js:7
Ext.extend.handleFailureext-all.js:7
fext-base.js:7
mext-base.js:7
(anonymous function)
Installation of Batcher went ok according to installation logs, no errors reported. Upon opening Batcher from the manager menu, the main screen appears but without any content displayed.
It would be great to be able to filter the list of resources based on their context_key
I would love to see this this feature
In 1.1.0pl, resource.grid.js, at line 307:
text: _('batcher.uncacheable')
,handler: function(btn,e) {
this.batchAction('cacheable',btn,e);
}
the 'cacheable' should probably read 'uncacheable'.
It would be nice to find all children of a specific page and set their properties.
This would make it a great tool.
Regards
to reproduce this:
voilá - there went batcher :)
Tested in latest Chrome, Safari & FF4.
btw single quotes ' in the pagetitle are fine.
Change parent for whole set/sub set of resources.
Upon selecting resources to update - selecting 'change template' brings up a dialog which allows one to choose the template to change to.
Clicking 'save' generates this error: "Please select some Resources to perform that action on."
My answer - "But, I did!"
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!
As in DocManager, we can pass resource IDs or range of resource IDs like:
1,5,6-10,12,50-100
This saves lots of time.
Thanks a lot! :)
Updated russian translation for Batcher 1.1.0-rc1
http://dl.dropbox.com/u/3483977/modx/russian.translation.batcher.110rc1.zip
I noticed today that I am not able to update any template variables values or default values for templates in batcher, it will load the screen but not display the actual TV's for the selected templates. It simply displays a blank screen with the loading symbol.
Being able to duplicate resources while specifying the target parent resource would be incredibly helpful.
Right now the combobox just lists the available templates, but doesn't allow you to set it back to no template.
Hi
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
Russian translation here http://dl.dropbox.com/u/3483977/russian.translation.batcher.100rc1.zip
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!
Lost lexicon entries in lexicon/en/default.inc.php :)
batcher.action_err_ns
batcher.resources_err_ns
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.