<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div class="" style="">Thanks for answering.</div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span class="" style="">I used the cms:link tag but </span><span style="font-size: 12pt;" class="">canot load the css file when running opencms in online mode. </span></div><div class="" style="color: rgb(0, 0, 0); font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span style="font-size: 12pt;" class=""><br></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue',
 Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span style="font-size: 12pt;" class="">Best regards.</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span style="font-size: 12pt;" class="">Ha.</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> On Tuesday, June 10, 2014 3:53 PM, "Schliemann, Kai" <K.Schliemann@comundus.com> wrote:<br class=""
 style=""> </font> </div>  <br class="" style=""><br class="" style=""> <div class="" style=""><div id="yiv3296933731" class="" style=""><style class="" style="">#yiv3296933731 #yiv3296933731 --
 
 _filtered #yiv3296933731 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}
 _filtered #yiv3296933731 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}
 _filtered #yiv3296933731 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv3296933731 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv3296933731  
#yiv3296933731 p.yiv3296933731MsoNormal, #yiv3296933731 li.yiv3296933731MsoNormal, #yiv3296933731 div.yiv3296933731MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv3296933731 a:link, #yiv3296933731 span.yiv3296933731MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv3296933731 a:visited, #yiv3296933731 span.yiv3296933731MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv3296933731 p.yiv3296933731MsoAcetate, #yiv3296933731 li.yiv3296933731MsoAcetate, #yiv3296933731 div.yiv3296933731MsoAcetate
        {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;}
#yiv3296933731 p.yiv3296933731msolistparagraph, #yiv3296933731 li.yiv3296933731msolistparagraph, #yiv3296933731 div.yiv3296933731msolistparagraph
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}
#yiv3296933731 p.yiv3296933731msonormal, #yiv3296933731 li.yiv3296933731msonormal, #yiv3296933731 div.yiv3296933731msonormal
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}
#yiv3296933731 p.yiv3296933731msochpdefault, #yiv3296933731 li.yiv3296933731msochpdefault, #yiv3296933731 div.yiv3296933731msochpdefault
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}
#yiv3296933731 span.yiv3296933731msohyperlink
        {}
#yiv3296933731 span.yiv3296933731msohyperlinkfollowed
        {}
#yiv3296933731 span.yiv3296933731style-mailovzprvy17
        {}
#yiv3296933731 p.yiv3296933731msonormal1, #yiv3296933731 li.yiv3296933731msonormal1, #yiv3296933731 div.yiv3296933731msonormal1
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv3296933731 span.yiv3296933731msohyperlink1
        {color:blue;text-decoration:underline;}
#yiv3296933731 span.yiv3296933731msohyperlinkfollowed1
        {color:purple;text-decoration:underline;}
#yiv3296933731 p.yiv3296933731msolistparagraph1, #yiv3296933731 li.yiv3296933731msolistparagraph1, #yiv3296933731 div.yiv3296933731msolistparagraph1
        {margin-top:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv3296933731 span.yiv3296933731style-mailovzprvy171
        {color:#1F497D;}
#yiv3296933731 p.yiv3296933731msochpdefault1, #yiv3296933731 li.yiv3296933731msochpdefault1, #yiv3296933731 div.yiv3296933731msochpdefault1
        {margin-right:0cm;margin-left:0cm;font-size:10.0pt;}
#yiv3296933731 span.yiv3296933731E-MailFormatvorlage29
        {color:#1F497D;}
#yiv3296933731 span.yiv3296933731SprechblasentextZchn
        {}
#yiv3296933731 .yiv3296933731MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv3296933731 {margin:70.85pt 70.85pt 2.0cm 70.85pt;}
#yiv3296933731 div.yiv3296933731WordSection1
        {}
#yiv3296933731 </style><div class="" style="">
<div class="" style="">
<div class="" style=""><span lang="EN-US" style="font-size:11.0pt;" class="">Hi Ha,</span></div> 
<div class="" style=""><span lang="EN-US" style="font-size:11.0pt;" class="">did you use the cms:link tag to load your css file?</span></div> 
<div class="" style=""><span lang="EN-US" style="font-size:11.0pt;" class="">E.g:</span></div> 
<div class="" style=""><span lang="EN-US" style="font-size:11.0pt;" class=""><link rel="stylesheet" type="text/css" href="<cms:link>%(link.weak:/system/modules/vn.mymodule/resources/css/home.css)</cms:link>" media="screen"/></span></div> 
<div class="" style=""><span lang="EN-US" style="font-size:11.0pt;" class="">  </span></div> 
<div class="" style=""><span lang="EN-US" style="font-size:11.0pt;" class="">HTH</span></div> 
<div class="" style=""><span lang="EN-US" style="font-size:11.0pt;" class="">Best regards</span></div> 
<div class="" style=""><span lang="EN-US" style="font-size:11.0pt;" class="">Kai</span></div> 
<div class="" style=""><span lang="EN-US" class="" style="">  </span></div> 
<div class="" id="yiv3296933731yqt80279" style=""><div class="" style="">
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;" class="">
<div class="" style=""><b class="" style=""><span style="font-size:10.0pt;" class="">Von:</span></b><span style="font-size:10.0pt;" class=""> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
<b class="" style="">Im Auftrag von </b>Nguyen Thu Ha<br clear="none" class="" style="">
<b class="" style="">Gesendet:</b> Dienstag, 10. Juni 2014 10:22<br clear="none" class="" style="">
<b class="" style="">An:</b> Filip Kratochvil; 'The OpenCms mailing list'<br clear="none" class="" style="">
<b class="" style="">Betreff:</b> Re: [opencms-dev] CSS files only avaiable in offline project</span></div> 
</div>
</div>
<div class="" style="">  </div> 
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">Thanks for the reply.</span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">  </span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">I did everything as you said (published the css file, viewed css file in online mode ). The problem is when running opencms in online mode, website
 run normal but canot load the css file. </span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">I dont know what's going on here?</span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">Please help me.</span></div> 
</div>
<div class="" style="">
<div class="" style="margin-bottom:12.0pt;background:white;"><span style="" class="">  </span></div> 
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:10.0pt;" class="">On Monday, June 9, 2014 7:10 PM, Filip Kratochvil <<a rel="nofollow" shape="rect" ymailto="mailto:filip.kratochvil@nelasoft.cz" target="_blank" href="mailto:filip.kratochvil@nelasoft.cz" class="" style="">filip.kratochvil@nelasoft.cz</a>> wrote:</span><span style="" class=""></span></div> 
</div>
<div class="" style="margin-bottom:12.0pt;background:white;"><span style="" class="">  </span></div> 
<div class="" style="">
<div id="yiv3296933731" class="" style="">
<div class="" style="">
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:11.0pt;" class="">Hi,</span><span style="" class=""></span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:11.0pt;" class=""> </span><span style="" class=""></span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:11.0pt;" class="">-</span><span style="font-size:7.0pt;" class="">         
</span><span style="font-size:11.0pt;" class="">Did you published this css file?</span><span style="" class=""></span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:11.0pt;" class="">-</span><span style="font-size:7.0pt;" class="">         
</span><span style="font-size:11.0pt;" class="">Do you see css in workplace, i mean in on-line project?</span><span style="" class=""></span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:11.0pt;" class="">-</span><span style="font-size:7.0pt;" class="">         
</span><span style="font-size:11.0pt;" class="">The problem is both files have different URL?</span><span style="" class=""></span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:11.0pt;" class=""> </span><span style="" class=""></span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:11.0pt;" class="">Different URL is caused by Static export
<a rel="nofollow" shape="rect" target="_blank" href="http://www.opencms-wiki.org/wiki/Static_Export" class="" style="">http://www.opencms-wiki.org/wiki/Static_Export</a>. There is default configuration for images/css/word/PDFs… for static export. If you are in off-line project, files are server directly
 from database, but if you are in on-line project, this filetypes are server primary from static export folder /export/ from real file system (for better performance).</span><span style="" class=""></span></div> 
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:11.0pt;" class=""> </span><span style="" class=""></span></div> 
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:11.0pt;" class="">--<br clear="none" class="" style="">
Regards<br clear="none" class="" style="">
Filip Kratochvil<br clear="none" class="" style="">
------------------------------------------------<br clear="none" class="" style="">
NELASOFT Technologies, s.r.o.<br clear="none" class="" style="">
E-mail: <a rel="nofollow" shape="rect" ymailto="mailto:filip.kratochvil@nelasoft.cz" target="_blank" href="mailto:filip.kratochvil@nelasoft.cz" class="" style="">filip.kratochvil@nelasoft.cz</a><br clear="none" class="" style="">
Web: <a rel="nofollow" shape="rect" target="_blank" href="http://www.nelasoft.cz/" class="" style="">www.nelasoft.cz</a></span><span style="" class=""></span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="font-size:11.0pt;" class=""> </span><span style="" class=""></span></div> 
</div>
<div id="yiv3296933731yqt68427" class="" style="">
<div class="" style="">
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;" class="">
<div class="" style="">
<div class="" style="background:white;"><b class="" style=""><span style="font-size:10.0pt;" class="">From:</span></b><span style="font-size:10.0pt;" class="">
<a rel="nofollow" shape="rect" ymailto="mailto:opencms-dev-bounces@opencms.org" target="_blank" href="mailto:opencms-dev-bounces@opencms.org" class="" style="">opencms-dev-bounces@opencms.org</a> [<a rel="nofollow" shape="rect" ymailto="mailto:opencms-dev-bounces@opencms.org" target="_blank" href="mailto:opencms-dev-bounces@opencms.org" class="" style="">mailto:opencms-dev-bounces@opencms.org</a>]
<b class="" style="">On Behalf Of </b>Nguyen Thu Ha<br clear="none" class="" style="">
<b class="" style="">Sent:</b> Friday, June 06, 2014 12:22 PM<br clear="none" class="" style="">
<b class="" style="">To:</b> 'The OpenCms mailing list'<br clear="none" class="" style="">
<b class="" style="">Subject:</b> [opencms-dev] CSS files only avaiable in offline project</span><span style="" class=""></span></div> 
</div>
</div>
</div>
<div class="" style="">
<div class="" style="background:white;"><span style="" class=""> </span></div> 
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">Hi,</span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class=""> </span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">My OpenCms version is 8.5.1. I have a problem with css file. The css file only display in the offline project, not in online.</span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class=""> </span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">The css’s offline URL is:</span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">/war/opencms/system/modules/vn.mymodule/resources/css/home.css</span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class=""> </span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">the css's online URL is:</span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">/war/export/system/modules/vn.mymodule/resources/css/home.css</span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class=""> </span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">Does anyone know what's going on here?</span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class=""> </span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">Thanks,</span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class=""> </span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class="">Ha.</span></div> 
</div>
</div>
<div class="" style="">
<div class="" style="">
<div class="" style="background:white;"><span style="" class=""> </span></div> 
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="" style="margin-bottom:12.0pt;background:white;"><span style="" class="">  </span></div> 
</div>
</div>
</div>
</div>
</div></div>
</div>
</div></div><br class="" style=""><br class="" style=""></div>  </div> </div>  </div> </div></body></html>