So I'm going to take it then that the answer is no - to prevent a
broken site, when built from the parent, you must supply each module
with it's own site.xml.
Or is this a bug?
Thanks,
J
On 17-Jun-06, at 1:04 AM, Julian Wood wrote:
Anyone know how to keep a common menu in a multi-module site? It
seems easy enough, but it doesn't work quite right in the ways that
I've tried. For instance,
<menu name="Dictateur">
<item name="Introduction" href="/index.html"/>
<item name="Install" href="/install.html"/>
<item name="Downloads" href="download.html"/>
</menu>
is defined in the parent site.xml. There are no site.xml's for any
of the modules (I know - if I define one, I can get around this
problem by creating relative links, but it would be all duplicate
info). This menu works fine as long as I'm at the parent level of
the site. If I navigate to a module, the menu is still there, but
the links are all relative to the module now, rather than to the
parent where it was defined, so of course are not found. I've tried
with and without a slash, as well as using the inherit attribute,
and they all give the same result. Is there any way to make this
menu work properly in the module sites (other than creating a
module-specific site.xml)?
mvn site:stage -DstagingDirectory=/tmp
--
Julian Wood <[EMAIL PROTECTED]>
Software Engineer
Teaching & Learning Centre
University of Calgary
http://tlc.ucalgary.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]