Internal Link problem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Internal Link problem

Marco Di Sabatino Di Diodoro
Hi all,

If I insert into a document the same link multiple times, the internal links are saved in the following way:

Jcr Repository:

<html>
<body>

<p>We are Hippo! Come and visit us at
<a title="Hippo website" target="_blank" href="http://www.onehippo.com">www.onehippo.com</a>!
</p>
<p>Link1: <a href="homepage">HomePageLink1</a></p>
<p>Link2: <a href="homepage_1">HomePageLink2</a></p>
</body>
</html>

For each link, Hippo adds a "_n".
How can I solve this problem?

Regards
Marco


--

Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PPMC Member





_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html
Reply | Threaded
Open this post in threaded view
|

Re: Internal Link problem

Jeroen Reijn
Administrator
Hi Marco,

this is how it should work. The _x is used to find the correct
index/hippomirror node (which hangs under the hippostd:html node).
Why do you think this is wrong?

Jeroen

On Wed, Oct 3, 2012 at 12:27 PM, Marco Di Sabatino Di Diodoro
<[hidden email]> wrote:

> Hi all,
>
> If I insert into a document the same link multiple times, the internal links
> are saved in the following way:
>
> Jcr Repository:
>
> <html>
> <body>
>
> <p>We are Hippo! Come and visit us at
> <a title="Hippo website" target="_blank"
> href="http://www.onehippo.com">www.onehippo.com</a>!
> </p>
> <p>Link1: <a href="homepage">HomePageLink1</a></p>
> <p>Link2: <a href="homepage_1">HomePageLink2</a></p>
> </body>
> </html>
>
> For each link, Hippo adds a "_n".
> How can I solve this problem?
>
> Regards
> Marco
>
>
> --
>
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PPMC Member
> http://people.apache.org/~mdisabatino
>
>
>
>
>
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html



--
Jeroen Reijn
Solution Architect
Hippo

Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com

http://about.me/jeroenreijn
_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html
Reply | Threaded
Open this post in threaded view
|

Re: Internal Link problem

Arthur Bogaart
In reply to this post by Marco Di Sabatino Di Diodoro
Hi Marco,

Why is that a problem? The names of the link i.e., homepage, homepage_1 simply reference a facetselect beneath the richtext node that in this case both point to the same node. So on your frontend both links will end up at the same URL. 

Regards,
Arthur

 
Hi all,

If I insert into a document the same link multiple times, the internal links are saved in the following way:

Jcr Repository:

<html>
<body>

<p>We are Hippo! Come and visit us at
<a title="Hippo website" target="_blank" href="http://www.onehippo.com">www.onehippo.com</a>!
</p>
<p>Link1: <a href="homepage">HomePageLink1</a></p>
<p>Link2: <a href="homepage_1">HomePageLink2</a></p>
</body>
</html>

For each link, Hippo adds a "_n".
How can I solve this problem?

Regards
Marco


--

Dott. Marco Di Sabatino Di Diodoro
Tel. <a href="tel:%2B39%203939065570" value="+393939065570" target="_blank">+39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel <a href="tel:%2B39%200859116307" value="+390859116307" target="_blank">+39 0859116307 / FAX <a href="tel:%2B39%200859111173" value="+390859111173" target="_blank">+39 0859111173
http://www.tirasa.net

Apache Syncope PPMC Member





_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html



--
Kind regards,
Met vriendelijke groet,

Arthur Bogaart

Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com


_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html
Reply | Threaded
Open this post in threaded view
|

Re: Internal Link problem

Marco Di Sabatino Di Diodoro

On Oct 3, 2012, at 1:18 PM, Arthur Bogaart wrote:

Hi Marco,

Why is that a problem? The names of the link i.e., homepage, homepage_1 simply reference a facetselect beneath the richtext node that in this case both point to the same node. So on your frontend both links will end up at the same URL. 

Sorry, communication mistakes with customer. It's correct.



Regards,
Arthur

 
Hi all,

If I insert into a document the same link multiple times, the internal links are saved in the following way:

Jcr Repository:

<html>
<body>

<p>We are Hippo! Come and visit us at
<a title="Hippo website" target="_blank" href="http://www.onehippo.com">www.onehippo.com</a>!
</p>
<p>Link1: <a href="homepage">HomePageLink1</a></p>
<p>Link2: <a href="homepage_1">HomePageLink2</a></p>
</body>
</html>

For each link, Hippo adds a "_n".
How can I solve this problem?

Regards
Marco


--

Dott. Marco Di Sabatino Di Diodoro
Tel. <a href="tel:%2B39%203939065570" value="+393939065570" target="_blank">+39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel <a href="tel:%2B39%200859116307" value="+390859116307" target="_blank">+39 0859116307 / FAX <a href="tel:%2B39%200859111173" value="+390859111173" target="_blank">+39 0859111173
http://www.tirasa.net

Apache Syncope PPMC Member





_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html



--
Kind regards,
Met vriendelijke groet,

Arthur Bogaart

Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com

_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html

--

Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PPMC Member





_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html