[opencms-dev] setting properties for new resource
Carl Alex Friis Nielsen
cfn at kb.dk
Mon Oct 9 13:59:59 CEST 2006
Download the source of OpenCms and start digging in org.opencms.templateone.frontend.CmsPropertyTemplateOne
to see how Template One does it - then modify it to suit your needs.
This is not something you can simply configure - you need to write some code to do it.
You can do some very limited configuration for xmltypes in the opncms-modules.xml configuration
file where you can specify that properties should be found on the first property dialog - but this only
works for xmltypes and you wont get any fancy widgets to use.
Cheers,
Carl
-----Original Message-----
From: opencms-dev-bounces at opencms.org@KB On Behalf Of "Felix Sprick" <felix.sprick at netlight.se>
Sent: Monday, October 09, 2006 1:18 PM
To: 'The OpenCms mailing list'
Subject: [opencms-dev] setting properties for new resource
Hi all,
I would like to make setting properties for new resources easier for the editors. When they create a new "page with free text" the should be able to enter certain properties without having to set them in the "advanced" tab. Obviously that is possible somehow because when I select templateOne I get a large variety of properties to set on the same page where I can specify the name of the new resource etc.
I couldn't find the place where I can edit this dialog for creating new resources.
Does anyone have an idea how that might work?
Cheers,
Felix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061009/f0289d83/attachment.htm>
More information about the opencms-dev
mailing list