[opencms-dev] CSS files only avaiable in offline project
Nguyen Thu Ha
boboha2001 at yahoo.com
Tue Jun 10 10:21:56 CEST 2014
Thanks for the reply.
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.
I dont know what's going on here?
Please help me.
On Monday, June 9, 2014 7:10 PM, Filip Kratochvil <filip.kratochvil at nelasoft.cz> wrote:
Hi,
- Did you published this css file?
- Do you see css in workplace, i mean in on-line project?
- The problem is both files have different URL?
Different URL is caused by Static export http://www.opencms-wiki.org/wiki/Static_Export. 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).
--
Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz
From:opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Nguyen Thu Ha
Sent: Friday, June 06, 2014 12:22 PM
To: 'The OpenCms mailing list'
Subject: [opencms-dev] CSS files only avaiable in offline project
Hi,
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.
The css’s offline URL is:
/war/opencms/system/modules/vn.mymodule/resources/css/home.css
the css's online URL is:
/war/export/system/modules/vn.mymodule/resources/css/home.css
Does anyone know what's going on here?
Thanks,
Ha.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140610/66e903dd/attachment.htm>
More information about the opencms-dev
mailing list