Jörn Nettingsmeier wrote:

problem: when i create webapp/pubs/MYTEMPLATEPUB/xslt and populate it only with a modified page2xthml.xsl, it is ignored. only when i copy all other xsl files from webapp/pubs/default/xslt as well do i see my changes. obviously there is an all-or-nothing check somewhere in the code. can anyone confirm this behaviour, to make sure it's not an error on my part?

Felix Roethenbacher recently mentioned a similar problem on lenya-dev
("fallback: and caching"), maybe this is the same issue?
I guess it's a bug, at least it's not a feature :)


if it's not, should i file an enhancement bug that the fallback to default xsls is done per individual file? (btw, is this usage of the word "fallback" consistent with what the devs call the fallback:// framework? i'm a little confused about the term.)

When we refer to fallback, we mean the mechanism described here:

http://lenya.apache.org/1_4/reference/publication-templating/index.html#The+Concept+of+Publication+Templating


next problem: i would like to use a modified menu.xsl in MYTEMPLATEPUB. but the original menu.xsl resides in webapp/lenya/modules/sitetree/xslt/navigation. can it be overwritten by a publication-specific one, or does this change have to be global? if so, can you explain?

You can override the stylesheet in your publication.
Just put it in MYTEMPLATEPUB/lenya/modules/sitetree/xslt/navigation.
If it doesn't work, feel free to file a bug.

BTW, you might want to check out the documentation locally
(the website hasn't been updated for quite a long time).
See http://lenya.apache.org/community/website-update.html for details.


HTH,
-- Andreas


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

Reply via email to