I think I would have done it this way:
Go to action.create&action=copy and create a new page action.child with the
following changes to the form:
! >>Create Child Page<<
[form]
>>Name of child page you want to create in {p}:<< [text child size=25]
[if* set {?boltkey}]
[(preview content)]
[if*]
[box content cols=60 rows=16 gui=true][(preview content output=escape)][box]
[submit name=boltsubmit[] value=PREVIEW][submit name=boltsubmit[]
value=CREATE]
[session if "equal '{=boltsubmit}' 'PREVIEW' ? warn=Preview Mode."]
[session target {p}.{=child}]
[session create {=content}]
[session warn]
[session author {member}]
[session changesummary "Page created by {=author}."]
[session savedata author,changesummary]
[session nextpage {=target}]
[form]
To use, just do some.page&action=child This will allow you to enter
"checklists" into the text box and have it create the page at {p}.{=child}.
Not tested, just a little tweak in the form.
I also would make it a new action, rather than tweaking the existing one--so
you can still use the create action for pages anywhere at other places in
the hierarchy. Also, if you can avoid using system actions, you can take
advantage of any changes to them in future upgrades. Hope this helps!
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
-~----------~----~----~----~------~----~------~--~---