hi !

we want to use templated publications with lenya 1.4.
so i created one publication as a design template and 2 others that use the first.

my goal: i would like to copy as few files into the template publication as possible, so that it contains only files that are actually different from the site-wide default.

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? 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.)


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? i have tried to copy the webapp/lenya/modules/ subtree over to webapp/pubs/MYTEMPLATEPUB/, but it does not have any effect. i checked the modules/ directory in webapps/pubs/default for reference, but it has a different layout than the global one.


regards,

jörn


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

Reply via email to