<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Stefano,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Did you add the editable tag at the end of the head section?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:solid black 1.0pt;padding:4.0pt 4.0pt 4.0pt 4.0pt;
background:white;margin-left:11.25pt;margin-right:11.25pt">
<p class="MsoNormal" style="line-height:18.0pt;background:white;border:none;
padding:0in">
<span style="font-size:10.0pt;font-family:"Courier New";
color:windowtext"><cms:editable /><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D">Patricia  Padilla<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext"> Stefano Pesci [mailto:stefano.pesci@fao.org]
<br>
<b>Sent:</b> Monday, November 09, 2009 5:49 AM<br>
<b>To:</b> OpenCMS - DEV<br>
<b>Subject:</b> [opencms-dev] Direct-edit not accessible in front-end<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:13.5pt">Hi all,<br>
I am a newbie of OpenCMS and, in the working team I work, one of the first task assigned is to develop a new template on an existing test site.<br>
I started to redesign a completely new template like this:</span><span style="font-family:"Courier New""><br>
<br>
<template_dir><br>
    classes<br>
    elements<br>
        boxes<br>
            linkbox.jsp<br>
            listbox.jsp<br>
            textbox.jsp    <br>
        boxes.jsp<br>
        breadcrumb.jsp<br>
        login.jsp<br>
        menu<br>
            nav_left.jsp<br>
        lib<br>
            <empty><br>
        pages<br>
            article.jsp<br>
            default.jsp<br>
            event.jsp<br>
            goto.jsp<br>
            item.jsp<br>
            news.jsp<br>
            search.jsp<br>
            switch.html.jsp<br>
        resources:<br>
            css<br>
                codex.css<br>
            images<br>
                <something like banner, etc..><br>
            video<br>
                <some swf animation><br>
        src<br>
            <empty><br>
        templates<br>
            main.jsp<br>
<br>
<br>
</span><span style="font-size:13.5pt">In the main.jsp I inserted this part of code:</span><span style="font-family:"Courier New""><br>
<br>
<br>
    ...something before...<br>
<br>
    </cms:template><br>
    <cms:template element="body"><br>
        <cms:include element="body" editable="true"/><br>
    </cms:template><br>
    <cms:template element="foot"><br>
<br>
    ...something after...<br>
<br>
<br>
</span><span style="font-size:13.5pt">The problem is the following:<br>
I enter as 'admin' and, in the workplace, I click on a jsp (or other content) and I am able to access and modify the content via 'direct edit' in the new instance of the browser, but not in the front-end of the site.<br>
What's wrong? In the TemplateTwo demo, as admin I am able to modify all the contents in the front-end, so I suppose that I got wrong 'somewhere'...<br>
I would like to receive a support by Community.<br>
Thanks in advance!</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">-- <br>
<strong><span style="font-size:10.0pt;color:blue">Stefano Pesci</span></strong><o:p></o:p></p>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="2">This email is confidential and intended solely for the use of the individual(s) to whom it is addressed. The information contained in this message may be privileged and confidential and protected from disclosure.<br>
<br>
If you are not the author's intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please delete
 all copies, both electronic and printed, and contact the author immediately.<br>
</font>
</body>
</html>