<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE>@font-face {
font-family: Verdana;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 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
}
SPAN.EmailStyle17 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2>Helen,</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2>ok.
you have two ways to allow non administrative users to do static
export:</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2>1.
modify the opencms-workplace.xml file as follow:</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2><explorertype name="xmlpage" key="fileicon.xmlpage"
icon="page.gif"></FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2>...</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2><contextmenu><BR> <entry
key="explorer.context.pageedit" uri="editors/editor.jsp" target="_top" rules="d
d iiii aaai dddd" order="10"/></FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2>...</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2><entry key="explorer.context.property" uri="commons/property.jsp"
rules="a a aaai aaai aaai" order="360"/></FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2><SPAN
class=419062321-13012006><FONT face=Arial color=#ff0000 size=2><entry
key="explorer.context.static" uri="admin/database/staticexport.html" rules="a a
aaai aaai aaai" order="370"/></FONT></SPAN></DIV>
<DIV><BR></DIV></FONT></SPAN>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></contextmenu></FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2>you
need to define the key="explorer.context.static" in the workplace.properties
file, this file might be somewhere in the source tree, the german file
workplace_de.properties is here in the VFS:</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2>/system/workplace/locales/de/messages/org/opencms/workplace/</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2>the
english one is in the source tree under
src/org/opencms/workplace/workplace.properties, so you have to extend it and
build a new jar I think.</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2>2. you
can use also the AfterPublishExportHandler, see:</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><A
href="http://mail.opencms.org/pipermail/opencms-dev/2005q4/021164.html"
target=_blank>http://mail.opencms.org/pipermail/opencms-dev/2005q4/021164.html</A></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2>But
your main problem is that you can't export your html files, so try to extend the
opencms-importexport.xml like this:</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2><staticexport
enabled="true"><BR> <staticexporthandler>org.opencms.staticexport.CmsOnDemandStaticExportHandler</staticexporthandler><BR> <exportpath>export</exportpath><BR> <defaultpropertyvalue>false</defaultpropertyvalue><BR> <defaultsuffixes></FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2><FONT
color=#ff0000> <suffix key=".html"/> <--
new</FONT><BR> <suffix
key=".jpg"/><BR> <suffix
key=".gif"/></FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2>and
set export=true on your template and some *.js files of the navigation files if
you are using too, so we are trying to force all possibilities to do static
export, normaly it should be enough to set the export=true on the sites/yoursite
folder, but give it a try and let me know what happens
:-)</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2>as a
short conclusion for others in the future see also:</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2><A
href="http://www.pomegranate.de:9000/cms/forum/viewthread?thread=60">http://www.pomegranate.de:9000/cms/forum/viewthread?thread=60</A></FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff size=2>Have a
nice weekend,</FONT></SPAN></DIV>
<DIV><SPAN class=419062321-13012006><FONT face=Arial color=#0000ff
size=2>Arash</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <B>On
Behalf Of </B>Helen Huang<BR><B>Sent:</B> Freitag, 13. Januar 2006
20:47<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev]
Static Export problem with OpenCMS 6.0.3<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Arash,<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">Thanks for your help.
<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 set the folder properties
export=true and exportname=iptvexport and published the folder and I am still
not able to see the folder/files under the export directory. I can do the
static export successfully using the “Start Static Export” link under
Administration View, Database Management, Additional Tools. But I don’t want
my user to go to the Administration View to do the export every time they want
to export a file.<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">Do you have any
ideas?<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">Thanks
again!<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>
<TABLE class=MsoNormalTable style="WIDTH: 240pt" cellSpacing=0 cellPadding=0
width=320 border=0>
<TBODY>
<TR>
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; PADDING-TOP: 0in">
<P class=MsoNormal><B><FONT face=Verdana color=#4e81c4 size=1><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: #4e81c4; FONT-FAMILY: Verdana">NRTC</SPAN></FONT></B><FONT
face=Verdana color=#4e81c4 size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: #4e81c4; FONT-FAMILY: Verdana"><BR><B><SPAN
style="FONT-WEIGHT: bold">Helen Huang</SPAN></B><BR><I><SPAN
style="FONT-STYLE: italic">Software Engineer</SPAN></I><BR><A
href="http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=2121+Cooperative+Way&csz=Herndon%2C+VA+20171&country=us"
target=_blank><FONT color=#4e81c4><SPAN
style="COLOR: #4e81c4; TEXT-DECORATION: none">2121 Cooperative
Way<BR>Herndon, VA 20171</SPAN></FONT></A><BR>tel: 703-467-1418
<o:p></o:p></SPAN></FONT></P></TD>
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; PADDING-TOP: 0in">
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></TD></TR>
<TR style="HEIGHT: 7.5pt" height=10>
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; PADDING-TOP: 0in; HEIGHT: 7.5pt"
colSpan=2 height=10>
<P class=MsoNormal><FONT face="Times New Roman" size=1><SPAN
style="FONT-SIZE: 8pt"><o:p> </o:p></SPAN></FONT></P></TD></TR>
<TR>
<TD
style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; PADDING-TOP: 0in"
colSpan=2>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><A href="http://www.plaxo.com/signature"
target=_blank></A><o:p></o:p></SPAN></FONT></P></TD></TR></TBODY></TABLE>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV><!--[object_id=#nrtc.coop#]-->
<P align=center><FONT face=Tahoma size=2><FONT color=#0000ff>This e-mail
message, including any attachments, is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, copy, use, disclosure, or distribution is
prohibited. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original
message.</FONT></FONT></P></BLOCKQUOTE></BODY></HTML>