Andreas Hartmann wrote:
Hi Richard,
Richard Frovarp schrieb:
Where are the modules for a publication defined? I don't want ODT or
CForms available to my users. I have a publication that uses the default
publication as its template. I removed the cforms and odt module
mentions from publication.xml and config/publication.xconf in my new
publication. However, the menu entries to add those type of documents
are still in the file menu.
the problem here is that your publication inherits the module
declarations of the default publication. You can either remove them
from default/publication.xconf or file an enhancement bug that you
need the functionality to exclude the menu items. I don't think we
should provide a mechanism to override the module inheritance, since
this would reduce the functionality of a child publication and I guess
this could lead to unpredictable problems.
-- Andreas
Okay. I thought that since the publications obtain a copy of
publication.xconf from the super publication it didn't fallback for
module declarations. This actually works out just fine for me. I will
probably end up with a large number of publications. If I want to add a
module, it can be done at a lower level. If I need to remove a module,
then I will need to touch all of the publications.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]