[opencms-dev] XMLContent issues
Uhlig, Roman Knuepfer Verlag
roman.uhlig at knve.de
Wed Apr 19 11:53:01 CEST 2006
Hi,
while working with OpenCms XMLContent objects, I discovered several
issues I couldn't find any solution for. Did somebody solve any of them
or can give some suggestions?
1. Is it possible to display XMLContent objects ordered by creation
date, not by the date it was changed most recently? I couldn't find a
collector param for that.
2. I'd like to take some automated actions if a new XMLContent object is
created by an editor, like automatically sending an e-mail. Is there a
way to do this with OpenCms?
3. Some of our XMLContent objects are displayed at certain parts of a
portal depending on their set properties (e.g. boolean values). This
works fine in the online project, but it creates a confusing list for
the editor in the offline project, cause all non-fitting objects are
displayed with empty entries anyway. I'm filtering the XMLContent
objects like this:
<cms:contentload
collector="allInFolderDateReleasedDesc"
param="/mysite/xmlcontent/xmlcontent_${number}.html|myxmlcontenttype"
editable="true">
<cms:contentcheck ifexists="abooleanvalue">
<div>
<a href="<cms:link><cms:contentshow
element="${opencms.filename}" /></cms:link>">
<cms:contentshow element="Title" />
</a>
</div>
</cms:contentcheck>
</cms:contentload>
Displaying them this way shows all objects that have not set
"abooleanvalue" anyway as empty entries with editing controls, which is
very annoying.
Any help on any of these issues is very appreciated.
Thank you in advance,
Roman
More information about the opencms-dev
mailing list