[opencms-dev] cannot edit XML content from details or list?
Alexander Kandzior
alex at opencms.org
Fri Nov 5 08:33:37 CET 2004
You are missing the following tag right in the beginning of your page:
<cms:editable />
This usually must be located in the HEAD section of the HTML page. Not sure
if direct edit would work with your pages since your pages apparently do not
generate valid HTML. In the demos, this is already included in the template
used by the detail and list page.
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/>
_____
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Andy Kriger
Sent: Thursday, November 04, 2004 10:05 PM
To: 'The OpenCms mailing list'
Subject: [opencms-dev] cannot edit XML content from details or list?
I have detail and list files for custom XML content, but I cannot get the
editing functionality to work even though editable is set to true. I can
edit the individual files I created using forms generated from the XML
schema. The xmlcontent demo does work for me and I can edit that list file.
I am viewing the file in the Offline project as Admin so I should have
rights to edit.
Has anyone run into this?
Can anyone see a problem in these file or suggest things that could be
wrong?
thx
--- DETAIL FILE ---
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:contentload collector="singleFile" param="opencms:uri" editable="true">
<h1><cms:contentshow element="Title" /></h1>
<h3><cms:contentshow element="Subtitle" /></h3>
</cms:contentload>
--- LIST FILE ---
<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:contentload collector="allInFolderDateReleasedDesc"
param="/gto/article_${number}|13" editable="true">
<h3><cms:contentshow element="Title" /></h3>
<br><br><br>
<h3><cms:contentshow element="Subtitle" /></h3>
<br><br>
</cms:contentload>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041105/8fae1e4d/attachment.htm>
More information about the opencms-dev
mailing list