On 30/10/2006, at 4:00 PM, Maurizio Balestrieri wrote:
> On Oct 30, 3:33 am, Bodhi <[EMAIL PROTECTED]> wrote:
>> then any new page you create will have those parts by default.
>
> Thank you Bohdi.
>
> A couple of questions:
>
> 1) those page parts, which logically could be "inherited" from a sort
> of "template" page (which has all the parts and their content as
> required), should be the default, but just for a branch of the site
> tree, for example for the "/blog" one, and not for the entire site;
> how
> can I do this?
>
> 2) except for the body and the extended part, also the content of the
> other parts should be copied (or "inherited"); in other words, how can
> I copy a page from another (a sister page) including its content?
At the moment, there is no way of copying content from one page to
another (apart from copy-and-paste :) ). If you just want to reuse
text from another page you could use the 'inherit="true"' attribute, eg:
<r:content part="part_on_parent_to_inherit" inherit="true" />
But the part needs to be defined on one of the page's ancestors, and
it's a reference, not a copy (ie. if you change the part on the
ancestor, it will change on ALL the children).
Bodhi
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant