This is a migrated thread and some comments may be shown as answers.

File Manager Dialog issue

3 Answers 54 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sungki
Top achievements
Rank 1
Sungki asked on 15 Sep 2015, 08:16 PM

Our solution architecture is like below. Same IIS, site, and application pool are used.

- Website (Frontend user) , ex www.hellotest.com

- Admin (Backend user) , ex www.hellotest.com/admin

We are using Editor in backend to upload Media & Flash contents.

All uploaded data is stored in one of front-end site folder. It's okay.

But when I insert from file manager, embed links points backend url.

Which means

embed url is www.hellotest.com/admin/uploads/media/somefile.mp3 . This should be www.hellotest.com/uploads/media/somefile.mp3 (NO admin in URL)

How can I fix this issue?

3 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 18 Sep 2015, 07:29 AM
Hi Sungki,

The only possible reason for that to happen is if the MakeUrlsAbsolute filter is enabled. Which automatically applies the domain to the src's values. 

Check if it is enabled somewhere in the RadEditor configuration and make sure to disable it. 

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Sungki
Top achievements
Rank 1
answered on 18 Sep 2015, 02:51 PM

Hi Ianko,

I didn't make the MakeUrlsAbsolute enabled.

Any other thought?

0
Vessy
Telerik team
answered on 23 Sep 2015, 02:43 PM
Hi Sungki,

As stated by my colleague Ianko - there is no another possible reason for showing the absolute URL to a file, unless the mentioned filter is enabled. If this filter is not enabled the Editor shows only the virtual path to the files, so the url will be like "/uploads/media/somefile.mp3".

The only other option I can think of is that you have a custom logic for editing the URLs, so you can check there (if any).

Unfortunately, we cannot be of much help without being able to reproduce and examine the problematic behavior on our side. Please, isolate the problem into a runnable project or send us a live URL where we can replicate the case, so we can provide you further assistance on this matter.

Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
Sungki
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Sungki
Top achievements
Rank 1
Vessy
Telerik team
Share this question
or