[erp5-dev] How to get the Item Type List?
Jérôme Perrin
jerome at nexedi.com
Wed Feb 21 12:59:04 CET 2007
Le Lundi 19 Février 2007 15:25, Mikolaj Antoszkiewicz a écrit :
> The "getPortalItemTypeList" function returns nice WEB page with
> mysterious 'Nexedi VPN' text.
It's just a ZPublisher feature, if a method returns a list with 2 elements, it
will send it to the browser as (page title, page body).
getPortalItemTypeList returns the list of type informations that are member of
the 'item' group. This can be configured using the ZMI,
in /erp5/portal_types/*.
If in your case it prints 'Nexedi VPN', then maybe you've hit the default
value (all this is defined in the ERP5Site class).
Jérome
More information about the Erp5-dev
mailing list