[opencms-dev] FW: Static export publishing of"anchor" linksfailsin6.0.0

apoorv.durga at wipro.com apoorv.durga at wipro.com
Wed Mar 1 13:16:01 CET 2006


Yes that's right. It is created as XMLPage only.
The control code of xmlpage indeed shows that link and anchor are stored
properly. However, the statically exported pages is not able to resolve
the link correctly.

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of
> Christian Steinert
> Sent: Wednesday, March 01, 2006 5:25 PM
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] FW: Static export publishing
> of"anchor" linksfailsin6.0.0
>
> apoorv.durga at wipro.com wrote:
> > This works if the links are in template.
> >
> > What we are facing is a slightly different problem. Let's
> say there's
> > a page created using the rich text editor called faq.html. This has
> > number of items, each pointing to an anchor tag on another
> page called
> > details.html. These pages are create by content editors
> using the rich
> > text editors and they link from one page to another using
> the lonk and
> > anchor buttons  found on the toolbar of the editor.
> >
> > Now when we do a static publish, opencms is unable to
> resolve anchor
> > links that point to an anchor on another page. For example if the
> > links
> > are:
> >
> > Page1.html
> > ===========
> > <a href="#">Top</a>
> >
> > <a href="/somepath/page2.html#anchor">Glossary</a>
> >
> > The first link is resolved properly in the static export as it is a
> > link to anchor on same page whereas the second link which points to
> > another page is resolved to dynamic site and not to static
> site. If I
> > remove the "#anchor" from second link, it also gets
> resolved properly.
> >
> >  
> How do these pages get into the system?
> If you create an xmlpage, then I had the impression, that it
> works and that the link part and the anchor part of a
> hyperlink are identified and stored correctly in the xmlpage.
> So the question is:
> - how do your pages come into the system?
> - how does the source code of your xmlpage look like
>
> Christian
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list To
> change your list options, or to unsubscribe from the list,
> please visit http://lists.opencms.org/mailman/listinfo/opencms-dev
>


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com



More information about the opencms-dev mailing list