[opencms-dev] No Images on Demo-HP

Christian Hasenbichler chasenb at salzburgresearch.at
Fri Dec 13 15:48:43 CET 2002


Hi Carsten,

I edited the xml-template "main" in the directory
/system/modules/default/frametemplates/main and substituted in all
*.gif-paths "opencme/pics/system" by
"opencme/opencms/system/galleries/pics/templates". Then the images an
of the mainframe worked well. It is just a hack, because the first
opencms in the path is referring to the path in the Web-apps-directory
of the Tomcat-server and should not be hardcoded, because it can have a
different name with other deployment-configurations.

Is this what you needed?

Does anybody know how to access the servlet-path in the template by ways
of a variable instead of hardcoding it?

======================================================================
Mag. Christian Hasenbichler
Salzburg Research Forschungsgesellschaft        phone +43 662 2288 414
Jakob Haringer Strasse 5/III                      fax +43 662 2288 222
5020 Salzburg                        e-mail chasenb at salzburgresearch.at
Austria                             web http://www.salzburgresearch.at



More information about the opencms-dev mailing list