Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.
The following page has been changed by JörnNettingsmeier: http://wiki.apache.org/lenya/RandomThingsLearnedWhilePlayingWith1%2e4HEAD ------------------------------------------------------------------------------ == New Publication Wizard / Publication templating == - I'm trying to set up two publications that follow a common corporate design. The idea is to use [http://lenya.apache.org/1_4/reference/publication-templating/index.html publication templating], so that changes to the design will automatically be propagated to the derived publications. This does not work very well for me atm - I need to understand which settings and files are hard-copied once during creation and which are referenced. + I'm trying to set up two publications that follow a common corporate design. The idea is to use [http://lenya.apache.org/1_4/reference/publication-templating/index.html publication templating], so that changes to the design will automatically be propagated to the derived publications. This does not work very well for me atm - I need to understand which settings and files are hard-copied once during creation and which are referenced. I'm dumping my findings here as I go along. - * access control: <newpub>/config/ac/ac.xconf uses "context:///lenya/pubs/default/config/ac/passwd" etc. *But*: it always uses the default publication, not the actual template that is used. Bug or feature? + * access control: <newpub>/config/ac/ac.xconf uses "context:///lenya/pubs/default/config/ac/passwd" etc. *But*: it always uses the "default" publication, not the actual template that is used. - The contents of the passwd/ and policy/ dirs are copied into <newpub>, probably also from the default publication. Why? Either the whole mechanism falls back to the default publication (including all users/groups/hosts etc.), or it is independent. Can anyone explain? + ''Bug or feature? Should this also use "fallback:///"?'' + * The contents of the passwd/ and policy/ dirs are copied into <newpub>, probably also from the default publication. + ''Why? Either the whole mechanism should fall back to the default publication (including all users/groups/hosts etc.), or it is independent. Can anyone explain?'' + + * publication.xml is copied from the template, and the publication name is changed. + + * content/*/* is copied from the template without changes. + + * When creating a new xhtml page, I see the standard "Default Publication - Welcome to the default Lenya publication! The purpose of this publication is..." page. + ''How can I edit this? It should be an example page from the publication template.'' + + * When I create a "links" type page, I see the standard "links" example page. + ''Again, how do I edit this? I want it to show an example page for the proper resource type from the template.'' + + * As mentioned in [http://lenya.apache.org/1_4/reference/publication-templating/index.html], templates are defined in <newpub>/config/publication.xconf. + ''I want to be able to add new resource types to the *template* that will automatically be available in all derived publications. possible? IIUC, as it is now I have to add a new fallback entry to each derived publication's config file by hand, which is not so nice.'' + ''Is there a way to say "take all configuration options from the template except those which are explicitly overwritten in the publication's .xconf"? This would be a lot saner IMHO.'' + + + + + + + --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
