On 29/10/2006, at 8:27 AM, Maurizio Balestrieri wrote:

> Hi.
>
> This may have been discussed before, but I wasn't able to find a
> reference to it.
>
> I've setup a blog (archive) page with several parts: body, extended,
> comments, sidebar, ecc. and avery time I create a new blog entry I'd
> have to create a new page with the same structure and the same content
> for all parts but the body and the extended ones.
>
> What is the best/quickest way to copy a page (and its part structure)
> so that I don't have to re-enter it by hands?
>
> (I recall it may be done via the console but how?)
>
> Many thanks in advance.

Maurizio, from the console:

     g5:/sites/radiant bodhi$ ./script/console
     >> Radiant::Config['default.parts']
     => "body, extended"
     >> Radiant::Config['default.parts'] = "body, extended, comments,  
sidebar"
     => "body, extended, comments, sidebar"

then any new page you create will have those parts by default.

Bodhi
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to