On Wed, Feb 25, 2009 at 9:56 AM, Linly <[email protected]> wrote:
>
> Hi Dan,
>
> The new action.backup lists ALL of the pages in pages folder.
> Sometimes it's a bit difficult to check the needed files among my 500+
> pages. The old method asking plugin writers to fill in the file names,
> seems batter?
Here's what I would suggest--though I usually do all my plugin
development on a clean install, rather than an established site to
make sure it works right out of the box.
But, you could do
1) action.backup&action=rename to action.mybackup (just so you
don't mess up the core backup function)
2) edit action.mybackup. It's a bit hairy of a form, but look for this line:
[(list "{(search template=csv)}" "[check pages[] {+p}]//{+p}//")]
3) In the search template, modify the criteria to whatever you want, like:
{(search group=main*,forum*,template* template=csv)}
4) Save the page, and you should get just the pages you specified.
Theoretically, you should be able to do this:
[(list "page1,page2,pages3" "[check pages[] {+p}]//{+p}//")]
For that matter I suppose you could pre-check the boxes. But I guess
we're getting ahead of ourselves.
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---