[opencms-dev] _ Module with Publishing functionality

Olli Aro olli_aro at yahoo.co.uk
Fri Jul 2 16:26:20 CEST 2004


Yes, that works very well and I have been using this a lot is the past.
However this is a bit chicken-egg situation. Attributes are signed as part
of the page creation form, so in order to introduce your new attributes (and
make sure they get properly validated) you need to customise the form. Now –
if you have multiple attribute sets you are back requiring a new content
type for each attribute set, so you can display different page creation
forms for different sets. One way around this I have used before is to
define a document type attribute and then generate the attribute fields in
the page creation form based on the value of this attribute (so every
document type attribute value has a different page creation form).

 

But as you can see there is no easy way:-)

 

Olli  

 

   _____  

From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Kovalev, Pavel
Sent: 02 July 2004 13:40
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] _ Module with Publishing functionality

 

Thanks Olli,

 

In the meantime I though about another approach which probably would be easy
to implement – using custom page properties. 

For example: Press release has several additional attributes – author, date,
city, contact – those can be defined during page creation and pulled in the
template.

 

The only concern is data consistency. Is there way to define custom
attributes and make them mandatory?

 

I have no idea how to implement this; for press release we need above
attributes; for biographies – name, department, etc. 

 

Thank you,

Pavel Kovalev

 

 

 

 

 

   _____  

From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Olli Aro
Sent: Tuesday, June 29, 2004 4:01 PM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] _ Module with Publishing functionality

 

Hi Pavel,

 

You could always implement your own resource type, which allows you to
create your content items in similar manner than normal content items.  This
is not officially supported and therefore not well documented, however there
are sufficient amount of information scattered around the mailing list
archive. You could start by reading post at HYPERLINK
"http://mail.opencms.org/pipermail/opencms-dev/2004q1/009635.html"http://mai
l.opencms.org/pipermail/opencms-dev/2004q1/009635.html.

 

Regards,

 

Olli

 

   _____  

From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Kovalev, Pavel
Sent: 29 June 2004 19:27
To: opencms-dev at opencms.org
Subject: [opencms-dev] _ Module with Publishing functionality

 

Hi,

 

We’re planning to use OpenCMS for Structured Data management along with
Simple [unstructured] content.

The requirements state that processing logic for all type of contents
[generic and structured] should be the same. As far as I understand OpenCMS
concept this would require modules development.

 

I’ve checked several famous module examples but none of them seems to
implement separate logic for offline and online project; and publish
functionality. 

 

What would be correct way of implementing such functionality?

 

Let use news module as an example:

User creates new “News Channel” item [or update existing one] – online data
has not been affected

User publishes data – change propagated

 

This approach would also required users permissions check consistent with
the rest of the system.

 

What would be recommendations? Is it worthwhile to go with openCMS as
structured content in our case is about 3/4 of the site [we’re migrating
from Lotus Notes; everything is a structured content there].

  

Thank you,

Pavel Kovalev

 

 

 

 


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.708 / Virus Database: 464 - Release Date: 18/06/2004



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.708 / Virus Database: 464 - Release Date: 18/06/2004



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.713 / Virus Database: 469 - Release Date: 30/06/2004



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.713 / Virus Database: 469 - Release Date: 30/06/2004
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040702/fb8ae3f6/attachment.htm>


More information about the opencms-dev mailing list