Joern Nettingsmeier wrote:
hi everyone!


i have a template publication that currently uses the menu.xsl from
webapps/lenya/modules/sitetree/navigation/ (i found out with a quick
test modification of this file)

the goal is to override this xsl in <my-template-publication>. ideally
so that:

* i don't need to modify/copy any other files
* it gets propagated to all instances of <my-template-publication>.

Actually it should work with normal fallback:

  mytemplatepub/lenya/modules/sitetree/navigation/menu.xsl

If it doesn't work, it's a bug (maybe a fallback// call is missing).


how do i do it?
and is there documentation somewhere about the codepath of the menu
generation? i'm really irritated that i can't work this out for myself.
is it my stupidity, or is lenya fiendishly complicated?

What irritates you? The fallback mechanism towards the core just
defines that you have to put files in the corresponding location
in the lenya directory. In this case:

  lenya/modules/sitetree/navigation/menu.xsl

is overridden by

  mytemplatepub/lenya/modules/sitetree/navigation/menu.xsl


(aside: lenya is very grep-unfriendly, most things are abstracted to the
nth degree. sometimes the strings i'm looking for are only in file
names, not in file contents. yuck. how do you find your way around?)

I use the Eclipse search functionality.

-- Andreas


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

Reply via email to