[opencms-dev] Problem with navigation links/css when viewing page from outside OpenCms

Nicholas Abboud nicholas.abboud at BabelFish.com
Tue Aug 12 02:11:00 CEST 2003


Hello,

When I view an OpenCms page outside of OpenCms itself, after publishing it, 
a problem pops up. The links, like those to the stylesheet and for 
navigation, don't seem to be translated properly. For example, when 
previewing the document within OpenCms, it converts the links to their 
proper path, meaning for instance /opencms/opencms/my_module_dir/...; 
viewing it after publishing, it appears merely as /my_module_dir/..., so 
the navigation and css links end up pointing to empty locations.

I actually, fixed this by static exporting all the files, but found a 
different problem. I'm managing some dynamic data by passing it through the 
pages as URL parameters thanks to JSP, but this doesn't help at all with 
the static html pages that get generated by the export. I've had some 
initial success in using JavaScript within the JSP files to handle the 
parameters instead, but it's a bit of a messy solution.

I'm wondering if anyone can give some insight into this problem.

Thanks,
Nick


Nicholas Abboud
Software Developer
E-mail: nicholas.abboud at babelfish.com
780-944-9964 Main
780-432-5700 Fax

The Babel Fish Corporation

This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------
Le présent message électronique (y compris les pièces qui y sont annexées,
le cas échéant) s'adresse au destinataire indiqué et peut contenir des
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
destinataire de ce document, nous vous signalons qu'il est strictement
interdit de le diffuser, de le distribuer ou de le reproduire. Si ce
message vous a été transmis par erreur, veuillez en informer l'expéditeur
et le supprimer immédiatement.

www.babelfish.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030812/b1182d04/attachment.htm>


More information about the opencms-dev mailing list