[opencms-dev] Direct-edit not accessible in front-end

Padilla, Patricia PPadilla at riversidecountyit.org
Tue Nov 10 19:43:25 CET 2009


Stefano,

Did you add the editable tag at the end of the head section?

<cms:editable />


Patricia  Padilla

From: Stefano Pesci [mailto:stefano.pesci at fao.org]
Sent: Monday, November 09, 2009 5:49 AM
To: OpenCMS - DEV
Subject: [opencms-dev] Direct-edit not accessible in front-end

Hi all,
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.
I started to redesign a completely new template like this:

<template_dir>
    classes
    elements
        boxes
            linkbox.jsp
            listbox.jsp
            textbox.jsp
        boxes.jsp
        breadcrumb.jsp
        login.jsp
        menu
            nav_left.jsp
        lib
            <empty>
        pages
            article.jsp
            default.jsp
            event.jsp
            goto.jsp
            item.jsp
            news.jsp
            search.jsp
            switch.html.jsp
        resources:
            css
                codex.css
            images
                <something like banner, etc..>
            video
                <some swf animation>
        src
            <empty>
        templates
            main.jsp


In the main.jsp I inserted this part of code:


    ...something before...

    </cms:template>
    <cms:template element="body">
        <cms:include element="body" editable="true"/>
    </cms:template>
    <cms:template element="foot">

    ...something after...


The problem is the following:
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.
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'...
I would like to receive a support by Community.
Thanks in advance!
--
Stefano Pesci

________________________________
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.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20091110/7940d486/attachment.htm>


More information about the opencms-dev mailing list