[opencms-dev] cms:editable suddenly not working

Dwayne Kristjanson dwayne at realdecoy.com
Fri Jun 27 21:27:12 CEST 2008


OK, I found out what was wrong ... if not how it happened. Somehow I'd
lost the editors module. Re-installing this brought everything back to
the way I expected it be.

--
Dwayne Kristjanson

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Dwayne Kristjanson
Sent: Friday, June 27, 2008 2:27 PM
To: The OpenCms mailing list
Subject: [opencms-dev] cms:editable suddenly not working

I've clearly done something I shouldn't have, but I'm having trouble
figuring out what it might have been. I have some templates along the
lines of:

<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
  <title><cms:property name="Title" file="search" /></title>
  <cms:include file="../elements/components.jsp"
element="commoncssandscripts" />
  <cms:editable />
</head>
<body>
<!-- snip various includes -->
<cms:include element="body" editable="true" />
<!-- snip various includes -->
</body>
</html>

I'm not seeing the editable targets, and I'm getting javascript errors
from the script added to make the body editable. Basically it looks like
<cms:editable /> isn't adding in any <script> tags .... which I'm pretty
sure it should. But I don't know what I might have done to cause this.
If anyone else has had a similar problem, I'd sure appreciate knowing
how it was solved.

--
Dwayne Kristjanson

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list