Wanze Posted April 26, 2013 Author Share Posted April 26, 2013 Hi owzim Thanks! I see your point but I think this sort of functionality is hard to implement for a general, simple solution. There are lot's of possible fields of different size. Displaying them below each other - it becomes the same as creating a normal page and fill out the fields there. That's not really 'batch-creating' then IMO. Check out niks After save actions module which lets you create a new page after saving. If you have the need to let your users batch-create pages with a defined template, I'd go with a Process module. You could build a form with the required fields and then create the pages with the API. 2 Link to comment Share on other sites More sharing options...
alan Posted April 26, 2013 Share Posted April 26, 2013 Hi @Wanze, I may be late to the party to thank you but nonetheless, thank you for this great Module—I am sure I am going to be using it. 1 Link to comment Share on other sites More sharing options...
owzim Posted April 26, 2013 Share Posted April 26, 2013 There are lot's of possible fields of different size. Displaying them below each other - it becomes the same as creating a normal page and fill out the fields there. That's not really 'batch-creating' then IMO. You are right, my request might be beyond/off the scope of your module. Thank you for the other suggestions, will definitely check them out. 1 Link to comment Share on other sites More sharing options...
teppo Posted April 28, 2013 Share Posted April 28, 2013 You are right, my request might be beyond/off the scope of your module. Thank you for the other suggestions, will definitely check them out. I've been using this module to fill in a database of movies lately. Lets just say that there are "quite a few" of them and it's a lot of work. My point here is that since I happened to need a few custom fields that were always there, I modified module source just enough to include those -- no need for a generic option, just couple of lines of PHP and voilà: inserting movies just got a lot easier! I'm sure this is not what you were looking for there, just wanted to point out that modifying code of this module like that is quite easy to do and can save a lot of time if you're facing importing a lot of data by hand. That's one benefit of free software / open source, you know.. 2 Link to comment Share on other sites More sharing options...
owzim Posted April 28, 2013 Share Posted April 28, 2013 I've been using this module to fill in a database of movies lately. Lets just say that there are "quite a few" of them and it's a lot of work. My point here is that since I happened to need a few custom fields that were always there, I modified module source just enough to include those -- no need for a generic option, just couple of lines of PHP and voilà: inserting movies just got a lot easier! I'm sure this is not what you were looking for there, just wanted to point out that modifying code of this module like that is quite easy to do and can save a lot of time if you're facing importing a lot of data by hand. That's one benefit of free software / open source, you know.. I actually do that all the time, modifying jQuery plugins. But it always feels awkward and wrong to hack plugins/modules or even the core. But yeah, in this your this is a one time thing, since you would not modify the module for the actual live site but for the import process. But in your case you might even be better off using the api or the csv import module, no? Link to comment Share on other sites More sharing options...
apeisa Posted May 30, 2013 Share Posted May 30, 2013 Just used this to remove over 900 pages, while keeping about 50 valid pages. Saved at least hour of work. Just a brilliant module, thanks Wanze! 3 Link to comment Share on other sites More sharing options...
ryan Posted June 1, 2013 Share Posted June 1, 2013 Batcher has saved me major time on a few occasions too. Definitely a must-have module. 2 Link to comment Share on other sites More sharing options...
DaveP Posted June 1, 2013 Share Posted June 1, 2013 I actually do that all the time, modifying jQuery plugins. But it always feels awkward and wrong to hack plugins/modules or even the core. But yeah, in this your this is a one time thing, since you would not modify the module for the actual live site but for the import process. But in your case you might even be better off using the api or the csv import module, no? You can always make a copy of a particular module, rename it and install it as a different module so you can change its functionality without losing the original or losing your changes if/when the original is updated. There is at least one thread in the forum on the subject but I can't find it just now, even thru Google. 1 Link to comment Share on other sites More sharing options...
gfdesign Posted June 10, 2013 Share Posted June 10, 2013 Many thanks for this great module. This was I need. (And thanks to user @titanium for his recomendation)I'd like to see in future versions, some default filters for non-technical user as generally are our clients, such as user @raydale suggested.Best regardsFernando Link to comment Share on other sites More sharing options...
bcartier Posted July 29, 2013 Share Posted July 29, 2013 Feature Request ;-) It would really handy if the Batcher url under Setup was resource-oriented and stored the submitted Selector in the URL. That way you could bookmark the selectors that you reuse most often, or share very specific lists of content to team members etc simply by sharing a URL. -Brent 2 Link to comment Share on other sites More sharing options...
Marty Walker Posted September 26, 2013 Share Posted September 26, 2013 Quick question: is there a way to select the children of a particular page? Link to comment Share on other sites More sharing options...
Wanze Posted September 26, 2013 Author Share Posted September 26, 2013 Hi Marty, You can use the parent selector: parent=/path/to/my_parent/ 1 Link to comment Share on other sites More sharing options...
BFD Calendar Posted September 29, 2013 Share Posted September 29, 2013 ProcessBatcher is in my 'site/modules' folder but doesn't show up, not in 'modules' nor 'setup'. Logged in as Superuser PW 2.3. Checked for new modules, logged out & in again, all to no avail... Link to comment Share on other sites More sharing options...
Soma Posted September 29, 2013 Share Posted September 29, 2013 That sounds strange. And other modules work fine? Link to comment Share on other sites More sharing options...
teppo Posted September 30, 2013 Share Posted September 30, 2013 ProcessBatcher is in my 'site/modules' folder but doesn't show up, not in 'modules' nor 'setup'. Logged in as Superuser PW 2.3. Checked for new modules, logged out & in again, all to no avail... Is ProcessBatcher directory directly under site/modules or is the directory structure deeper than that? Just making sure as there's a built-in limit to directory depth, though this isn't something you'll usually need to worry about. One thing you might want to try, even though checking for new modules should already handle this, is to remove all Modules* files from your /site/assets/cache/ just to make sure that module list is properly updated. 2 Link to comment Share on other sites More sharing options...
BFD Calendar Posted September 30, 2013 Share Posted September 30, 2013 ProcessBatcher is in site/modules. I removed all Modules files from the site/assets/cache. Went to the admin modules page and ProcessBatcher was in the list so I happily clicked 'install. Then this happened: Unable to complete this request due to an error. Error has been logged. The logged error says: 2013-09-30 05:44:31 ? http://www.birthfactdeathcalendar.net/?/ Error: Call to a member function getLoadQueryAutojoin() on a non-object (line 309 of /wire/core/Pages.php) And now the complete website, admin and public are unavailable.... I just replaced the wire folder with a new one because of a previous error.... Link to comment Share on other sites More sharing options...
teppo Posted September 30, 2013 Share Posted September 30, 2013 Just a quick note: similar error is mentioned here, though in a slightly different context, so it might not necessarily be related to this issue at all. Still based on that thread it'd be nice to know a) which PHP version you have and b) are you using a cloud hosting platform or some other "regular" hosting, ie. typical web hotel or VPS? Link to comment Share on other sites More sharing options...
BFD Calendar Posted October 20, 2013 Share Posted October 20, 2013 Since I started a complete new install of PW it shows up all well now. I guess my FTP application was the culprit. Link to comment Share on other sites More sharing options...
woop Posted October 26, 2013 Share Posted October 26, 2013 Thanks! This module is absolutely great! I really like the simplicity of it. The only thing I'm missing is a way save my selector searches for later use. I often return to do similar searches. Link to comment Share on other sites More sharing options...
lpa Posted February 16, 2014 Share Posted February 16, 2014 Shouldn't it be possible to search with rootParent=/somesection/ with batcher? Link to comment Share on other sites More sharing options...
kongondo Posted February 16, 2014 Share Posted February 16, 2014 Shouldn't it be possible to search with rootParent=/somesection/ with batcher? Nope; rootParent is not a PW selector These could help: http://processwire.com/talk/topic/3018-rootparent-selector/ http://processwire.com/talk/topic/5269-rootparent-selector/ 1 Link to comment Share on other sites More sharing options...
ryan Posted February 17, 2014 Share Posted February 17, 2014 You should be able to use has_parent=/root-parent/, replacing 'root-parent' with the name of your root parent page. That's assuming that you want to match all pages that live within the root parent and their children, etc. If you just want children of that root parent, then you'd do parent=/root-parent/ Link to comment Share on other sites More sharing options...
valan Posted May 6, 2014 Share Posted May 6, 2014 One of the greatest tools for big sites. I only miss action "Change Field". @Wanze - would be super to see this action in future updates. Thanks! Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted May 31, 2014 Share Posted May 31, 2014 This module is great. And when you see something like that you start dreaming of more and more... I used Batcher to create a list of new pages. Could it be possible to import actual list of page titles (one title one line) in some textarea and get those new page inputs populated with those? We should choose a template for all those somehow too... Maybe make the "title" field in crete tab a textarea and apply all the other settings to the list (name autogenerated)? Thank you for the timesaver anyway. Link to comment Share on other sites More sharing options...
Soma Posted May 31, 2014 Share Posted May 31, 2014 You may better use Import CSV to pages module by Ryan then. 1 Link to comment Share on other sites More sharing options...
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