Is there any way (module?) to execute basic api commands from inside the PW admin?
For example, say I wanted to do a (one-off) something like set a field value to "this is a default value" for all pages with a specified template; What I do presently is temporarily add some code to a template file and then browse to a page which uses that template; Then once the commands are run I delete the code from the template.....
$p = $pages->get("template=test");
$p->of(false);
$p->set( 'fieldx', 'this is a default value' );
$p->save();
The PW API is so good, so coupling it with such a cumbersome method to achieve a simple pages update seems dodgy. Am I missing something? I find myself doing this type of thing quite often, so how does a real PW geek (as opposed to a wannabe PW geek ;-)) achieve the above?