[opencms-dev] Container page do not show Edit Point

Nili C nilimesh at hotmail.com
Wed May 6 00:00:15 CEST 2020


Thanks a lot Daniel.  I dont see the Edit Point.  And you are right I dont have any content (because I am on Step 5 and not on Step 8 yet).

Since the documentation in Step 5 says "you should see the Edit Point", I was not sure if I am doing something wrong when I did not see it.

Thanks for setting me straight on this Daniel.  Appreciate your help.

Best Regards,
Nili
________________________________
From: opencms-dev-bounces at opencms.org <opencms-dev-bounces at opencms.org> on behalf of Daniel Seidel <d.seidel at alkacon.com>
Sent: Tuesday, May 5, 2020 3:20 PM
To: opencms-dev at opencms.org <opencms-dev at opencms.org>
Subject: Re: [opencms-dev] Container page do not show Edit Point


Hi Nili,


do you mean that you don't see the toolbar, or an edit point on the page? If the second, have a content placed on your page? If not - there's nothing to edit yet. Content types are step 8 of the tutorial.


Maybe the topic about the content concept is also helpful https://documentation.opencms.org/opencms-documentation/background/the-concept-of-content/


Best, Daniel.


Am 04.05.20 um 20:17 schrieb Nili C:
Hi,

I have installed OpenCMS v11, and going through the tutorial to create the template:
        https://documentation.opencms.org/opencms-documentation/creating-a-website/creating-a-template-jsp/

I have completed Step 5, created a sub-site within the demo site, and created a "Container page" - index.html.

However, after opening the index.html, I do see the template correctly (header/footer/etc.), but I do not see any Edit Point.  Am I missing anything to not see the Edit Point?  Will greatly appreciate your help.


My module Template code for main.jsp is as follows:

<%@page buffer="none" session="false" trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms"<http://www.opencms.org/taglib/cms> %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"<http://java.sun.com/jsp/jstl/fmt> %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"<http://java.sun.com/jsp/jstl/functions> %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"<http://java.sun.com/jsp/jstl/core> %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"<http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>>
<html xmlns="http://www.w3.org/1999/xhtml"<http://www.w3.org/1999/xhtml> lang="en" xml:lang="en">
<head>
               <meta http-equiv="content-type" content="text/html; charset=utf-8" />
               <meta name="description" content="Your description goes here" />
               <meta name="keywords" content="your,keywords,goes,here" />
               <meta name="author" content="Your Name" />

               <cms:enable-ade />
               <link rel="stylesheet" type="text/css" href="<cms:link>%(link.weak:/system/modules/niliTest1.template/resources/css/niliTest1.css:c0640d4e-8c0c-11ea-9349-005056893b63)</cms:link>" title="Nili Test 1" media="screen,projection" />
               <title>Nili Test 1</title>
</head>

<body>
<div id="wrap">
<!-- Header -->
<img class="feature" src="<cms:link>%(link.weak:/system/modules/niliTest1.template/resources/img/sample1.jpg:c06ff433-8c0c-11ea-9349-005056893b63)</cms:link>" width="980" height="200" alt="sample image" />
<h1><a href="index.html">Common Header</a></h1>
<p class="slogan">Common Header Text with Menu -> </p>

<!-- Menu -->
<div id="menu">
<p class="menulinks">
<strong class="hide">Main menu:</strong>
<a class="menulink active" href="index.html">Home</a><span class="hide"> | </span>
</p>
</div>


<div id="content">
<cms:container name="centercontainer" type="center"
               width="500" maxElements="8" detailview="true">
<h4>
Please add content here (EditableBy = "${container.value.EditableBy}")
</h4>
</cms:container>
<hr class="clear" />
</div>


<!-- Footer -->
<p class="centered">Common Footer</p>
<p class="centered">This is a very simple Common Footer</p>

</div>
</body>
</html>






_______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev





--
Kind Regards,
Daniel.

-------------------

Daniel Seidel

Alkacon Software GmbH & Co. KG - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20200505/32a98807/attachment.htm>


More information about the opencms-dev mailing list