<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:ns0 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
.shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Verdana;
}
@font-face {
font-family: Lucida Console;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.E-postmall17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.E-postmall19 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=707582011-04102006><FONT face=Arial
color=#0000ff size=2>Sorry - I didn't read your question
properly!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=707582011-04102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=707582011-04102006><FONT face=Arial
color=#0000ff size=2>If you set up a file in <module root>/default_bodies
and put something like this in it:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=707582011-04102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=707582011-04102006><FONT face=Arial
color=#0000ff size=2><?xml version="1.0"
encoding="UTF-8"?></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=707582011-04102006><FONT color=#0000ff
size=2><FONT face="Lucida Console"><pages xmlns:xsi="</FONT><A
href="http://www.w3.org/2001/XMLSchema-instance"><FONT
face="Lucida Console">http://www.w3.org/2001/XMLSchema-instance</FONT></A><FONT
face="Lucida Console">" xsi:noNamespaceSchemaLocation="</FONT><A
href="http://www.opencms.org/dtd/6.0/xmlpage.xsd"><FONT
face="Lucida Console">http://www.opencms.org/dtd/6.0/xmlpage.xsd</FONT></A><FONT
face="Lucida Console">"><BR> <page
language="en"><BR> <element
name="block1"><BR>
<links/><BR>
<content><![CDATA[content for nav block
1]]></content><BR>
</element><BR> <element
name="block2"><BR>
<links/><BR>
<content><![CDATA[Content for nav block
2]]></content><BR>
</element><BR> <element
name="block3"><BR>
<links/><BR>
<content><![CDATA[Content for nav block
3]]></content><BR> </element><BR>
</page><BR></pages><BR></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=707582011-04102006><FONT face=Arial
color=#0000ff size=2>then the file would be HTML-editable - FCKEditor renders a
drop-down which allows you to choose the element you're editing - and your JSP
could include elements by naming them. Problem with this is that number of
blocks is fixed, but maybe that would be OK for you.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=707582011-04102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=707582011-04102006><FONT face=Arial
color=#0000ff size=2>Jon</DIV></FONT></SPAN><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Felix
Sprick<BR><B>Sent:</B> 04 October 2006 12:15<BR><B>To:</B> 'The OpenCms mailing
list'<BR><B>Subject:</B> SV: [opencms-dev] include html files from
templates<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi
Jon,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks for your email.
Your solutions works, I have tried that already earlier, but I was actually
trying to do this a bit different, sorry if I haven’t described clearly what I
would like to do. Let me try it again:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I want to have a number
of “blocks” in my navigation panel. Each block thereby is defined in a page
which can be edited with the HTML editor. Since I want editors to edit the
content of the blocks, I would like to place these block.html files in the
explorer view /sites/default. These problems occurred when trying to do that:
first of all, I couldn’t include any HTML files from within the template, only
.jsp files worked. Furthermore, these jsp files have to reside within
/system/modules/[my module]/.. , I could not manage to link from within a
template to a file at /sites/default/[my site]. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">With the solution I
have (and with the one you have mentioned), editors of the content of these
“blocks” would have to edit in the within /system/modules/[my module]/.. view
and could NOT use the HTML editor, since the page has to be a jsp. Is that
right? Or am I doing a stupid newbie mistake ( I am quite new to
openCMS)?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks a
lot,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Felix<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN lang=SV style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=3>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN lang=SV
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Från:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN lang=SV style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
<B><SPAN style="FONT-WEIGHT: bold">För </SPAN></B>Jonathan Woods<BR><B><SPAN
style="FONT-WEIGHT: bold">Skickat:</SPAN></B> den 4 oktober 2006
12:14<BR><B><SPAN style="FONT-WEIGHT: bold">Till:</SPAN></B> 'The OpenCms
mailing list'<BR><B><SPAN style="FONT-WEIGHT: bold">Ämne:</SPAN></B> RE:
[opencms-dev] include html files from templates</SPAN></FONT><SPAN
lang=SV><o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">This is how I do
something like what you're asking about. Lots of steps, so bear with me
while I explain....</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Create [my-page]
as 'New / Page with free text'. In the dialogue which appears,
choose as the new file's template a JSP file which you've already
created and placed in your module's 'templates' folder. This JSP file
is what OpenCms will execute when the URL for [my-page] is invoked. You
can populate the starting content of [my-page] by choosing a file in the 'Copy
body from' drop down; the files which appear there are taken from your module's
default_bodies folder.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">As for the JSP, you
want it to do what you've outlined: contain some code (may included from a JSP
snippet elsewhere) which renders menus, and also bring in the content from
[my-page]. Here's some JSP code which does just that for
me:</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P><FONT face="Lucida Console" color=#bf5f3f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #bf5f3f; FONT-FAMILY: 'Lucida Console'"><%@
</SPAN></FONT><FONT face="Lucida Console" color=#3f7f7f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #3f7f7f; FONT-FAMILY: 'Lucida Console'">page
</SPAN></FONT><FONT face="Lucida Console" color=#7f007f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Lucida Console'">pageEncoding</SPAN></FONT><FONT
face="Lucida Console" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">=</SPAN></FONT><FONT
face="Lucida Console" color=#2a00ff size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Lucida Console'">"UTF-8"
</SPAN></FONT><FONT face="Lucida Console" color=#7f007f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Lucida Console'">session</SPAN></FONT><FONT
face="Lucida Console" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">=</SPAN></FONT><FONT
face="Lucida Console" color=#2a00ff size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Lucida Console'">"false"
</SPAN></FONT><FONT face="Lucida Console" color=#7f007f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Lucida Console'">import</SPAN></FONT><FONT
face="Lucida Console" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">=</SPAN></FONT><FONT
face="Lucida Console" color=#2a00ff size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Lucida Console'">"all your
imports here" </SPAN></FONT><FONT face="Lucida Console" color=#bf5f3f
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #bf5f3f; FONT-FAMILY: 'Lucida Console'">%><BR><%@
</SPAN></FONT><FONT face="Lucida Console" color=#3f7f7f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #3f7f7f; FONT-FAMILY: 'Lucida Console'">taglib
</SPAN></FONT><FONT face="Lucida Console" color=#7f007f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Lucida Console'">prefix</SPAN></FONT><FONT
face="Lucida Console" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">=</SPAN></FONT><FONT
face="Lucida Console" color=#2a00ff size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Lucida Console'">"cms"
</SPAN></FONT><FONT face="Lucida Console" color=#7f007f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Lucida Console'">uri</SPAN></FONT><FONT
face="Lucida Console" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">=</SPAN></FONT><FONT
face="Lucida Console" color=#2a00ff size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Lucida Console'">"http://www.opencms.org/taglib/cms"
</SPAN></FONT><FONT face="Lucida Console" color=#bf5f3f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #bf5f3f; FONT-FAMILY: 'Lucida Console'">%></SPAN></FONT><FONT
face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P><FONT face="Lucida Console" color=teal size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Lucida Console'"><</SPAN></FONT><FONT
face="Lucida Console" color=#3f7f7f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #3f7f7f; FONT-FAMILY: 'Lucida Console'">cms:include
</SPAN></FONT><FONT face="Lucida Console" color=#7f007f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Lucida Console'">file</SPAN></FONT><FONT
face="Lucida Console" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">=</SPAN></FONT><FONT
face="Lucida Console" color=#2a00ff size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Lucida Console'">"../elements/pagecontentopen.jsp"</SPAN></FONT><FONT
face="Lucida Console" color=teal size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Lucida Console'">/></SPAN></FONT><FONT
face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P><FONT face="Lucida Console" color=teal size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Lucida Console'"><</SPAN></FONT><FONT
face="Lucida Console" color=#3f7f7f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #3f7f7f; FONT-FAMILY: 'Lucida Console'">div
</SPAN></FONT><FONT face="Lucida Console" color=#7f007f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Lucida Console'">class</SPAN></FONT><FONT
face="Lucida Console" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">=</SPAN></FONT><FONT
face="Lucida Console" color=#2a00ff size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Lucida Console'">"freeformContent"</SPAN></FONT><FONT
face="Lucida Console" color=teal size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Lucida Console'">><</SPAN></FONT><FONT
face="Lucida Console" color=#3f7f7f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #3f7f7f; FONT-FAMILY: 'Lucida Console'">cms:include
</SPAN></FONT><FONT face="Lucida Console" color=#7f007f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Lucida Console'">element</SPAN></FONT><FONT
face="Lucida Console" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">=</SPAN></FONT><FONT
face="Lucida Console" color=#2a00ff size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Lucida Console'">"body"</SPAN></FONT><FONT
face="Lucida Console" color=teal size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Lucida Console'">/></</SPAN></FONT><FONT
face="Lucida Console" color=#3f7f7f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #3f7f7f; FONT-FAMILY: 'Lucida Console'">div</SPAN></FONT><FONT
face="Lucida Console" color=teal size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Lucida Console'">></SPAN></FONT><FONT
face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P><FONT face="Lucida Console" color=teal size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Lucida Console'"><</SPAN></FONT><FONT
face="Lucida Console" color=#3f7f7f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #3f7f7f; FONT-FAMILY: 'Lucida Console'">cms:include
</SPAN></FONT><FONT face="Lucida Console" color=#7f007f size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #7f007f; FONT-FAMILY: 'Lucida Console'">file</SPAN></FONT><FONT
face="Lucida Console" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">=</SPAN></FONT><FONT
face="Lucida Console" color=#2a00ff size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Lucida Console'">"../elements/pagecontentclose.jsp"
</SPAN></FONT><FONT face="Lucida Console" color=teal size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Lucida Console'">/></SPAN></FONT><FONT
face="Lucida Console" color=teal size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: teal; FONT-FAMILY: 'Lucida Console'"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">The included JSP paths
are relative to the path of the JSP in which this code appears, so you'll need
an elements directory in your module which contains the cited resources.
In my case, these JSPs top and tail page content; the top (pagecontentopen.jsp)
renders the HTML preamble and page header and top/left navigation; the tail
(pagecontentclose.jsp) renders the page footer and HTML closure. The
<cms:include> tag in the middle is confusingly similar, but in this case
the code means 'include the XML element named 'body' from the file referred to
by the URL which caused me [this JSP] to be
invoked'.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">I've mentioned modules
a few times. To create a module of your own, create a folder named
<your module name> in /system/modules, and create JSPs etc in folders
underneath that.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Jon</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=3>
</SPAN></FONT></DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
<B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Felix
Sprick<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> 04 October 2006
10:27<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
opencms-dev@opencms.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [opencms-dev] include html files
from templates</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi all,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a question concerning
includes in templates. What I like to do: I want to have a “navigation panel”
that consists of several blocks with images and text (basically HTML blocks). I
want this panel included in every of my pages, that’s why I would like the
entire panel from my template on which the pages are built. My question: how do
I include the blocks (HTML pages that can be edited with WYSIWYG editor) from
/sites/default/[my-page] inside my template?? Everything I tried ended up in a
file not found exception.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Does anyone know if that’s possible
or know how to do it?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Your help is highly
appreciated!<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Felix </SPAN></FONT><FONT
face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>