Someone should put up a quick plugin page for this...

Cheers,
Dan


On Mon, Oct 5, 2009 at 2:54 PM, Kevin <[email protected]> wrote:
> Just gave this a try... works great.
>
> Thanks!
>
> On Mon, Oct 5, 2009 at 7:13 AM, Hans <[email protected]> wrote:
>>
>> Re: create child
>> create a page 'action.child' with this content:
>>
>> !Create Child Page
>> Ancestors: [(breadcrumb name=link)]
>> [form]
>> >>Create in this location: [(breadcrumb name=link separator='>'
>> >> text=true)]><< [text child size=30]
>> [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 warn]
>> [session target {p}.{=child}]
>> [session create {=content}]
>> [session author {member}]
>> [session changesummary "Page created by {=author}."]
>> [session savedata author,changesummary]
>> [session nextpage {=target}]
>> [form]
>>
>> Not sure if the code is up-to-date.
>> Please test.
>>
>> ~Hans
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to