I am getting some strange behavior when using the Link tool in the FCKEditor. The problem is that the relative path to the current page is being appended to the target URL. The position at which the additional path information is being appended differs between the available protocol (as found in the Protocol selector in the link dialog.) For example, if I add a FCKEditor paragraph to the page at http://www.testsite.com/index.html that is of protocol type URL and the target page is http://www.magnolia.com, the resulting target that appears on my page after the paragraph has been saved is: "indexhttp://www.magnolia.com". If the same paragraph were reopened (as an edit) and the changes were saved, the new resulting link target would be "indexindexhttp://www.magnolia.com". Notice the two occurrences of "index" appended to the beginning of the target.
Alternately, if the target link is created using the "magnolia" protocol by browsing through the site tree and selecting a page, the extraneous path info is added after the server name (http://www.testsite.com) but before the target to the new page. For example, to link to the relative page /pictures/page1.html from within the /index.html page, the resulting URL target would be http://www.testsite.com/indexpictures/page1.html. The extra path info is being appended after the Save button is pressed and the form is submitted. I confirmed that the URL target is correct when it is originally constructed by the FCKEditor Link tool so it is getting screwed up somewhere inside Magnolia. If anybody can point me in the right direction as to how I can debug this or track down the part of code that handles the FCKEditor saving, I would greatly appreciate it. Regards, Casey Masterson Acclivius Software www.acclivius.com ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
