[opencms-dev] dynamic template content turns into static html after putting the files "online"

Steffen Wachenfeld Steffen.Wachenfeld at math.uni-muenster.de
Wed Apr 21 17:36:02 CEST 2004


Hi,

Nacho is right, check your static export settings, its not always easy to
predict the behavior if static export is enabled.
To give you a clue:
-static export is generally enabled/disabled in your opencms.properties, if
you disable it there, it will behave like your offline project but will be
slower because everything is put together (The FlexCache of course speeds it
up)

-if you enable static export and only then, the further settings take
effect:
Default behavior, you can set the default to false, so that only the pages
you set manually (e.g. big files, jsp of "static" content, etc) are exported
Or you set the default to true and have to disable it for certain pages

ATTENTION: If you have a pages based on a template which includes other
(plain-)files, don't think these pages will be exported if you change an
included file, you have to at least "touch" the pages using the template or
better the template itself to be exported... this can cause a bit confusion
:o)

TIP: If you use static export, you may consider using a webserver like
apache as reverse proxy to deliver the content faster and to some peoples
opinion safer. How you do this is explained in the net and in this group at
several places...

Hope this helps,

Steffen


----- Original Message -----
From: "José Ignacio Fernández" <ji.fernandez at dominion.es>
To: <opencms-dev at opencms.org>
Sent: Wednesday, April 21, 2004 5:09 PM
Subject: RE: [opencms-dev] dynamic template content turns into static html
after putting the files "online"


> You have to set the "export" property of the page to "false". That will
prevent openCms to statically export it. That property is set by default to
"false" for pages of the type "jsp", but not for type "page" and others.
Hope it helps. Greetings,
>
> Nacho Fernández.
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>




More information about the opencms-dev mailing list