[opencms-dev] OpenCMS 8 & HTML 5

Rafa Dominguez rdvbcn at gmail.com
Tue Oct 2 15:22:30 CEST 2012


I've looked at the two files and there are no errors.
I tried removing all the module_config and neither works.
Any more ideas?

2012/10/2 Siegfried Ehret <s.ehret at eurelis.com>

> I can't tell from your image...
> Your type name must match the type id you set in the resource types.
> See
> http://www.opencms-wiki.org/wiki/Defining_OpenCMS_structured_XML_content#B._Add_resource_and_Explorer_type_definitions
>
>
> On 10/02, Rafa Dominguez wrote:
> > Hello,
> > Thanks for the answer. Could you please send me the right conf in order
> to
> > avoid this issue?
> >
> > This is my config:
> > [image: Imágenes integradas 1]
> >
> >
> > Regards
> >
> > 2012/10/2 Siegfried Ehret <s.ehret at eurelis.com>
> >
> > > I had this issue once.
> > > It was a bad configuration in the module configuration
> > > (type:module_config) file.
> > >
> > >
> > >
> > > On 10/02, Rafa Dominguez wrote:
> > > > Hi,
> > > > I'm developing my first html5 template , but when I insert
> > > > the label <cms:enable-ade/> stops working properly.
> > > > If I remove this tag works correctly but that page can not be edited.
> > > > Main.jsp code is:
> > > >
> > > >
> > > > <!DOCTYPE html>
> > > > <%@page import="org.opencms.jsp.CmsJspActionElement"%>
> > > > <%@page buffer="none" session="false" taglibs="c,cms,fn"
> > > > contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
> > > > <%
> > > > CmsJspActionElement cms = new CmsJspActionElement(pageContext,
> request,
> > > > response);
> > > > %>
> > > > <html lang="<%=cms.getRequestContext().getLocale().getLanguage() %>">
> > > >  <head>
> > > >  <meta charset="${cms:vfs(pageContext).requestContext.encoding}" />
> > > >  <meta http-equiv="Content-Language"
> > > > content="<%=cms.getRequestContext().getLocale().getLanguage() %>" />
> > > > <meta name="description" content="<cms:property name="Description"
> > > > file="search" default="" />">
> > > >  <meta name="keywords" content="<cms:property name="Keywords"
> > > file="search"
> > > > default="" />">
> > > >  <meta name="robots" content="index, follow">
> > > > <meta name="revisit-after" content="7 days">
> > > >  <meta name="viewport" content="width=device-width,
> initial-scale=1.0">
> > > > <title><cms:info property="opencms.title" /></title>
> > > >  <link rel="stylesheet"
> > > >
> > >
> href="<cms:link>%(link.weak:/system/modules/com.axa.tatv.opencms/resources/css/reset.css)</cms:link>"
> > > > type="text/css" />
> > > >  <link rel="stylesheet"
> > > >
> > >
> href="<cms:link>%(link.weak:/system/modules/com.axa.tatv.opencms/resources/css/style.css)</cms:link>"
> > > > type="text/css" />
> > > >  <link rel="stylesheet"
> > > >
> > >
> href="<cms:link>%(link.weak:/system/modules/com.axa.tatv.opencms/resources/css/media-queries.css)</cms:link>"
> > > > type="text/css" />
> > > >  <meta name="viewport" content="width=device-width,
> initial-scale=1.0">
> > > > <link rel="shortcut icon"
> > > >
> > >
> href="<cms:link>%(link.weak:/system/modules/com.axa.tatv.opencms/resources/img/favicon.ico)</cms:link>"
> > > > />
> > > >  <!--[if IE]>
> > > > <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js
> > > "></script>
> > > >  <![endif]-->
> > > > <script
> > > >
> > >
> src="<cms:link>%(link.weak:/system/modules/com.axa.tatv.opencms/resources/js/jquery.js)</cms:link>"
> > > > type="text/javascript"></script>
> > > >  <cms:enable-ade/>
> > > > <cms:headincludes type="javascript" />
> > > >  <cms:headincludes type="css" />
> > > > </head>
> > > > <body id="home">
> > > >  <div id="wrapper">
> > > > <header>
> > > >     <cms:container name="headercontainer" type="header"
> maxElements="1"
> > > />
> > > >
> > > >  </header>
> > > > <section id="main-content">
> > > > <div id="info">
> > > >  <cms:container name="left-colcontainer" type="leftcenter"
> > > > detailview="true"/>
> > > > <aside class="sidebar">
> > > >   <cms:container name="rightcontainer" type="right" width="230"
> > > > maxElements="8" />
> > > > </aside>
> > > >  <div class="clearfix"></div>
> > > > </div>
> > > > </section>
> > > >  <cms:container name="footercontainer" type="footer" maxElements="1"
> />
> > > > </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
> > > >
> > > >
> > > >
> > >
> > > _______________________________________________
> > > 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
> > >
> > >
> > >
> > >
>
>
>
> > _______________________________________________
> > 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
> >
> >
> >
>
> _______________________________________________
> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20121002/5cab0e6e/attachment.htm>


More information about the opencms-dev mailing list