File Manager Add-on Support Product Page

This topic is locked
Solved

Path after inserting a link not correct[Solved]

Reported 05 Oct 2011 23:48:08
2
have this problem
05 Oct 2011 23:48:08 Roland Voss posted:
Dear DMXZone support team,

I have a problem with the path to files inserted with the file manager add-on.

I have the following side structure:

!
+-side
! !
! +-admin
! !
! +-ahe.php
!
+-upload
!
+-AdvancedHTMLEditorhelp.pdf

Inside ahe.php I have three AHE 3.2.0 instances (one with relativ, absolute and full path).
I enter some text in AHE, mark the text, open the 'File Manager Add-On', select the pdf and click on 'LINK'.
When I now switch to code view I got the following links:

relativ: <a href="upload/AdvancedHTMLEditorhelp.pdf">Link</a>
absolute: <a href="/side/admin/upload/AdvancedHTMLEditorhelp.pdf">Link</a>
full: <a href="ahetest.vosssoft.de/side/admin/upload/AdvancedHTMLEditorhelp.pdf">Link</a>

None of this links is correct. The correct links should be:

relativ: <a href="../../upload/AdvancedHTMLEditorhelp.pdf">Link</a>
absolute: <a href="/upload/AdvancedHTMLEditorhelp.pdf">Link</a>
full: <a href="ahetest.vosssoft.de/upload/AdvancedHTMLEditorhelp.pdf">Link</a>

You can test this on ahetest.vosssoft.de/side/admin/ahe.php

Working with DW CS5.5, AHE 3.2 and FileManager Add-On 1.2

regards
Roland

Promoted Solutions

Replied 07 Oct 2011 10:19:06
Hello Ronald,

In future try first inserting the link and then change its text. As before I don't experience incorrect link path creation.

Replies

Replied 06 Oct 2011 11:10:50
06 Oct 2011 11:10:50 Miroslav Zografski replied:
Hello Roland,

In which browser you do get the wrong links? Tested this on FF 7, IE8 and Chrome and on none I get the described links.


Replied 06 Oct 2011 14:00:53
06 Oct 2011 14:00:53 Roland Voss replied:
Tested this with FF 6.x and 7.x.
I did an additional test with IE8. Here the baviour is different: I enter some text (e.g. 'test'), mark the text and open the File-Manager Add-on. When I select the file in the add-on the marked text ('test') gets unmark and when I klick 'Link' button in the add-on a new link (with the correct path) is inserted with the name of the inserted file as the text of the new link. But the original marked text ('test') is unchanged.

regards
Roland
Replied 07 Oct 2011 10:19:06
07 Oct 2011 10:19:06 Miroslav Zografski replied:
Hello Ronald,

In future try first inserting the link and then change its text. As before I don't experience incorrect link path creation.
Replied 07 Oct 2011 11:41:19
07 Oct 2011 11:41:19 Roland Voss replied:
Hi Miroslav,

thanks for this explanation. I was a little bit confused because of the different baviours in the different browsers.

thanks
Roland

Reply to this topic