Hi Wolfgang,

Wolfgang Jeltsch schrieb:
if I use the default publication as a template for a new publication, I get several resource types I don’t want, e.g., ODT. I tried to get rid of them by inserting an explicit resource type list into the resource-types element in file

    build/lenya/webapp/lenya/pubs/$MYPUB/config/publication.xml

and restarting Lenya.  However, this didn’t have any visible effect.  Then I
commented out the respective resource-type elements in the default publication’s configuration file

    build/lenya/webapp/lenya/pubs/$MYPUB/config/publication.xml

and restarted Lenya which didn’t work either. So what’s the solution to my problem?

ATM the only purpose of the <resource-type> elements in publication.xml is to assign workflow schemas to resource types.

The menu items are inserted by the modules. To get rid of a resource type menu item, you have to remove the corresponding <module> element from publication.xconf.


By the way, is it okay to just edit those publication.xml files and restart Lenya? I did this to change the set of supported languages and it seemed to work. On the other hand, the Lenya website seems to tell me that I should rerun the build process or something like that.

If you change publication.xml in the build tree, you don't have to run the deployment process again. But I'd generally recommended to apply important changes to the source tree (which is usually held in a source code repository).

And what are the resource types

> “resource”

This one is for binary resources ("New Media Document").

and “usecase”

The usecasedocument module provides a resource type which allows to include usecases as documents.
http://lenya.apache.org/docs/modules/usecasedocument/index.html

HTH,
-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


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

Reply via email to