verdeandrea Posted September 14, 2016 Posted September 14, 2016 Is there any valid alternative for batch actions on pages?
Zeka Posted September 14, 2016 Posted September 14, 2016 59 minutes ago, verdeandrea said: Is there any valid alternative for batch actions on pages? ListerPro, I think
kongondo Posted September 14, 2016 Posted September 14, 2016 2 hours ago, verdeandrea said: Is there any valid alternative for batch actions on pages? ....am curious, why do you need an alternative?
verdeandrea Posted September 14, 2016 Posted September 14, 2016 1 hour ago, kongondo said: ....am curious, why do you need an alternative? Well, it's not working with my PW 3.0.28 site, e here it says compatibility to 2.6, so i guessed that wasn't compatible with latest PW release. Is this just happening to me?
rooofl Posted September 17, 2016 Posted September 17, 2016 I also have troubles to make it work with 1400+ page deletion. I have no error, and the pages are still there after execution of the script. It works if I have less result (e.g. if I filter id>1000,template=mytemplate) The issue seems to be related to the high amount of results.
titanium Posted September 17, 2016 Posted September 17, 2016 ProcessBatcher is not compatible with 3.0 devns at the moment, as far as I know. But why not try some custom code? It's just four lines actually. <?php $pagesToDelete = $pages->find('id>1000,template=mytemplate'); foreach ($pagesToDelete as $p) { $pages->delete($p, true); } 4
dragan Posted July 11, 2017 Posted July 11, 2017 It works with v. 3.0.62... well, sort of. When I get results / list, the console says ProcessBatcher.js?v=104-1499794358:54 Uncaught TypeError: $(...).fancybox is not a function at HTMLDocument.<anonymous> (ProcessBatcher.js?v=104-1499794358:54) at l (JqueryCore.js?v=1499794378:2) at Object.fireWith [as resolveWith] (JqueryCore.js?v=1499794378:2) at Function.ready (JqueryCore.js?v=1499794378:2) at HTMLDocument.A (JqueryCore.js?v=1499794378:2) Also, the "Actions..." bar doesn't work anymore
Robin S Posted July 21, 2017 Posted July 21, 2017 I forked this module and made it PW3 compatible. See the readme and the commit for details of what was changed. https://github.com/Toutouwai/ProcessBatcher If folks want to test it and report back I can make a pull request for @Wanze. @tpr, I hid the AdminOnSteroids datatables filterbox and the title case-change button because the layout was a bit messed up. Maybe you could take a look at that when you have time? 5 1
Robin S Posted July 21, 2017 Posted July 21, 2017 1 hour ago, tpr said: Could you send a screenshot? PM sent.
Wanze Posted July 21, 2017 Author Posted July 21, 2017 @Robin S Thanks for your work! I will gladly merge a pull request to make this module PW3 compatible 3
robinc Posted July 31, 2017 Posted July 31, 2017 On 21/07/2017 at 4:55 AM, Robin S said: I forked this module and made it PW3 compatible. See the readme and the commit for details of what was changed. https://github.com/Toutouwai/ProcessBatcher If folks want to test it and report back I can make a pull request for @Wanze. @tpr, I hid the AdminOnSteroids datatables filterbox and the title case-change button because the layout was a bit messed up. Maybe you could take a look at that when you have time? Works fine for me thanks! Would love to see this pulled back into the main module 1
Robin S Posted August 2, 2017 Posted August 2, 2017 On 22/07/2017 at 7:46 AM, Wanze said: I will gladly merge a pull request to make this module PW3 compatible Great, pull request made. 3
cjrobe Posted December 3, 2017 Posted December 3, 2017 Glad I read through this thread, Robin S's version works great! Thanks so much. 1
benbyf Posted January 2, 2018 Posted January 2, 2018 Actions bar still not working. I'm running Batcher 1.0.4 and PW 3.0.62. https://www.dropbox.com/s/642ps72mz3apf83/batcher-no-click.mov?dl=0 1
Peter Knight Posted January 17, 2018 Posted January 17, 2018 On 02/01/2018 at 2:15 PM, benbyf said: Actions bar still not working. I'm running Batcher 1.0.4 and PW 3.0.62. https://www.dropbox.com/s/642ps72mz3apf83/batcher-no-click.mov?dl=0 Same here on 3.0.88. Initially I thought it was a UIKit theme issue but I notice your 3.0.62 isn't running this.
hezmann Posted January 28, 2018 Posted January 28, 2018 I've installed ProcessBatcher and can get pages to edit but the Actions button at the bottom doesn't do anything and I'm seeing this error in the console... ProcessBatcher.js:54 Uncaught TypeError: $(...).fancybox is not a function Any ideas? Thanks, Heather
hezmann Posted January 29, 2018 Posted January 29, 2018 On 7/20/2017 at 9:55 PM, Robin S said: I forked this module and made it PW3 compatible. See the readme and the commit for details of what was changed. https://github.com/Toutouwai/ProcessBatcher If folks want to test it and report back I can make a pull request for @Wanze. @tpr, I hid the AdminOnSteroids datatables filterbox and the title case-change button because the layout was a bit messed up. Maybe you could take a look at that when you have time? That worked for me! Thanks @Robin S 1
cjrobe Posted June 2, 2018 Posted June 2, 2018 @Peter Knight @benbyf You need to install Robin S's version. Simply FTP Robin S's files into a subfolder in /site/modules, go to your modules dash and click install. Actions are still working properly in the latest PW with this version.
Peter Knight Posted May 30, 2019 Posted May 30, 2019 Batcher (1.1.0) ProcessWire 3.0.121 Moved about 50 pages to a new location. The pages were moved and the page paths are correct but clicking on a page in the front-end throws a 404 error. Deleted the cache, flushed permissions, and other caches etc. No ProCache running either. Page Path History is running. I could fix this by moving a page manually back to its original location and then manually moving it again to the new location. Might be worth a look?
Ivan Gretsky Posted January 22, 2020 Posted January 22, 2020 Hey @Wanze! Thanks for this great module. Seems like it is compatible with PW3, but module info is saying it's not. If you got dome time please update compatibility info.
opalepatrick Posted November 18, 2020 Posted November 18, 2020 Hey there, I have had an error with this for a while. I am using pw 3.0.123 and have uninstalled, cleared cache and reinstalled and still get this: count(): Parameter must be an array or an object that implements Countable on line 341 Any ideas? Appreciated
kongondo Posted November 18, 2020 Posted November 18, 2020 14 minutes ago, opalepatrick said: Any ideas? Appreciated This is due to a backward incompatible change introduced in PHP 7.2. Quote An E_WARNING will now be emitted when attempting to count() non-countable types (this includes the sizeof() alias function). Line #341 of ProcessBatcher has this code: <?php namespace ProcessWire; if (!count($this->input->post->title)) { // code } That needs to be changed to ensure that the variable being counted ($input->post->title) is an array or a countable object. Best to send @Wanze a pull request. 1
opalepatrick Posted November 18, 2020 Posted November 18, 2020 Thanks @kongondo for the speedy reply. I will have a go at that ?
HannaP Posted August 22, 2021 Posted August 22, 2021 On 11/18/2020 at 11:59 AM, kongondo said: Line #341 of ProcessBatcher has this code: <?php namespace ProcessWire; if (!count($this->input->post->title)) { // code } That needs to be changed to ensure that the variable being counted ($input->post->title) is an array or a countable object. Can anybody show me how to change that line?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now