El lun, 02-01-2006 a las 17:14 +0100, Joern Nettingsmeier escribió:
> [just a few tidbits here, i'm moving the major issues to separate threads.]
> 
> Andreas Hartmann wrote:
> > Joern Nettingsmeier wrote:
> > 
> > [...]
> > 
> 
> >>     * As mentioned in [WWW]
> >> http://lenya.apache.org/1_4/reference/publication-templating/index.html,
> >> templates are defined in <newpub>/config/publication.xconf.
> >>
> >>           o I want to be able to add new resource types to the
> >> *template* that will automatically be available in all derived
> >> publications. possible?
> > 
> > Resource types are always available to all publications. You just have
> > to add them to publication.xconf.
> 
> that's exactly what i'd like to avoid. here's why: we're launching two
> sites (more to follow later) with a common corporate design and common
> xml data structures. we want to start easy, using only xhtml. in the
> second stage, we want to introduce abstract xml doctypes one by one for
> special pages (personal information, literature lists, classes etc.).
> this is where it would be cool to just define them in the template and
> be able to use them without any modification to the derived pubs.
> 
> of course, this feature is not really critical for us, but it seems
> elegant and intuitive to me.
> 

Hmm, that is what modules are for. You can create a template pub
containing all global available templates for resource types or what so
ever. 

See
http://svn.apache.org/viewcvs.cgi/lenya/docu/src/documentation/content/xdocs/1_4/reference/modules/index.xml?view=markup

HTH
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to