[opencms-dev] Need Static export help!
pat sad
hlp.psaad at gmail.com
Thu Sep 1 16:51:46 CEST 2005
Hy everyone,
When doing a static export, is there a way to avoid the insertion of
the path that it automatically generates when sources; like images are
not stored as well ?
This might be a confusing question, I'll try to illustrate it :
Lets say I create html pages and ommit to insert images in the same
directory that my url is pointing to. For example:
I create an html file as so;
<html>
<body> <img src="images/image1.gif">
</body>
</html>
But I did not include a folder in the openCMS called images, and there
is no file image1.gif anywhere in openCMS, and I want to have this
html file static exported without openCMS changing the img paths. It
seems like if it does not find the image(broken link) then it
generates a path to retrieve it. This is what my code looks like when
It is exported in the export folder:
<img src="../../../../opencms/hlpsmile/image1.gif >
I was told to set the attribute <userelativelinks> to false in the
opencms-import-export.xml in order to remove /opencms/opencms/ and it
did work but only if my paths were not giving broken links.
Is there a way to configure it to not change the initial path ?
More information about the opencms-dev
mailing list