Pieter Beulque Posted February 28, 2014 Share Posted February 28, 2014 MultiPage Editor is a module that takes any valid ProcessWire selector and shows you all matching pages. You can edit all fields from one page, thus being perfect for bulk editing things like product pages or lists. It works best when selecting on template, because all pages will have the same fields. How to install: Download from: https://github.com/weworkweplay/ProcessMultiPageEditor Place the file ProcessMultiPageEditor.module in your /site/modules/ directory. In ProcessWire admin, click to 'Modules' and 'Check for new modules'. Click 'install' next to the 'MultiPage Editor' module (under heading 'Process'). Following that, you'll see a new menu option for this module on your Admin > Setup menu. Please note that the module currently only shows FieldtypeText-fields. This is something that probably needs some work. 10 Link to comment Share on other sites More sharing options...
kongondo Posted February 28, 2014 Share Posted February 28, 2014 Interesting, thanks for sharing... Link to comment Share on other sites More sharing options...
kongondo Posted March 2, 2014 Share Posted March 2, 2014 Pieter, You have specified the dependent module "MarkupAdminEditableTable" as permanent...hence, it cannot be uninstalled - . I guess this was a mistake? Link to comment Share on other sites More sharing options...
Pieter Beulque Posted March 3, 2014 Author Share Posted March 3, 2014 Yes, that was some legacy code, probably because the class is copied from a Core Module. I published a new release that allows removal. Thanks! Link to comment Share on other sites More sharing options...
SadlyMistaken Posted August 14, 2014 Share Posted August 14, 2014 Excuse me, but i don't understand how to change the fields... I did a search: template=people, title*=heart I press the FIND button.. I got 60 pages results.. and now? How can i change a text field called "color" to "red" in only 1 step? Link to comment Share on other sites More sharing options...
adrian Posted August 14, 2014 Share Posted August 14, 2014 I don't think this module can do that. But this small script can foreach($pages->find("template=people, title*=heart") as $p){ $p->of(false); $p->color = 'red'; $p->save("color"); } EDIT: Actually I don't think this module seems to be working. Does it require some table editing module/script to also be installed? I see that it requires MarkupAdminEditableTable - problem is that it doesn't seem to be initiating it? This is all I get: Link to comment Share on other sites More sharing options...
SadlyMistaken Posted August 14, 2014 Share Posted August 14, 2014 I see... I got the same... only a list of links... Thanks so much for the answer!! where do you usually run this kind of scripts? do you use a page and then VIEW it to run it? Link to comment Share on other sites More sharing options...
adrian Posted August 14, 2014 Share Posted August 14, 2014 Yup, you can temporarily add it to a page, or you could bootstrap a special file for running scripts like this, or you could use the "Save and Test" option in Hanna Code, or even my Code Tester module. 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