[Erp5-dev] how to really hide some allowed portal types
Yoshinori Okuji
yo at nexedi.com
Tue Nov 27 18:10:26 CET 2007
On Tuesday 27 November 2007 15:46, Mikolaj Antoszkiewicz wrote:
> Is there a way of modifying the stock Allowed Portal Types list without
> using Hidden Portal Types and modifying stock BusinessTemplate?
>
> Or the other way, is there a 'proper' way of stopping 'New' icon on the
> module form (Folder_create()) from creating random object from Allowed
> Portal Types list, even though it is hidden?
You can fix the tales expression in the page template, so that when no portal
type is allowed, no new icon is shown.
YO
--
Yoshinori Okuji, Nexedi CTO
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org
More information about the Erp5-dev
mailing list