Building from Scratch

From OpenCms Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: <%@page buffer="none" session="false" %> <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> <cms:template element="head"> <html> <head> <title><cms:property name="Tit...)
 
(Formatted: code)
 
Line 1: Line 1:
<%@page buffer="none" session="false"  %>
+
<%@page buffer="none" session="false"  %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
+
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:template element="head">
+
<cms:template element="head">
<html>
+
<html>
<head>  
+
<head>  
    <title><cms:property name="Title" file="search" escapeHtml="true"/></title>
+
    <title><cms:property name="Title" file="search" escapeHtml="true"/></title>
    <cms:editable/>
+
    <cms:editable/>
</head>
+
</head>
<body>     
+
<body>     
<h1><cms:property name="Title" file="search" escapeHtml="true"/></h1>
+
  &lt;h1&gt;<cms:property name="Title" file="search" escapeHtml="true"/>&lt;/h1&gt;
</cms:template>
+
</cms:template>
<cms:template element="body">
+
<cms:template element="body">
        <cms:include element="body" editable="true"/>
+
        <cms:include element="body" editable="true"/>
</cms:template>
+
</cms:template>
<cms:template element="foot">
+
<cms:template element="foot">
</body>
+
</body>
</html>
+
</html>
</cms:template>
+
</cms:template>

Latest revision as of 12:48, 4 October 2012

<%@page buffer="none" session="false"  %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:template element="head">
<html>
<head> 
    <title><cms:property name="Title" file="search" escapeHtml="true"/></title>
    <cms:editable/>
</head>
<body>    
 <h1><cms:property name="Title" file="search" escapeHtml="true"/></h1>
</cms:template>
<cms:template element="body">
        <cms:include element="body" editable="true"/>
</cms:template>
<cms:template element="foot">
</body>
</html>
</cms:template>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox