Technical support This forum is closed.
Version 1.x > Technical support > Page Menu Items using file:// protocol, Site View issuse - C# 1.8c View modes: 
User avatar
Member
Member
ta5ae - 4/19/2006 11:51:35 AM
   
Page Menu Items using file:// protocol, Site View issuse - C# 1.8c
I have a couple of Page (Menu Items) which point to files on our network. I use file:// to point to the location for example using a Page URL of file://X:/TEMPLATE/app-form.oft

If I view this item from the Site view I receive a page not found error. The Site View has tried to load the following URL:

http://domain.com/HR/~/file://X:/TEMPLATE/app-form.oft

Is there anything I can do on my part to avoid this? Or is this something that may be changed in the future.

Version c# 1.8c

User avatar
Guest
admin - 4/19/2006 11:56:12 AM
   
Re: Page Menu Items using file:// protocol, Site View issuse - C# 1.8c
Hello,

unfortunately, this type of addresses is not supported in this way.

You can, however, define the menu item as "JavaScript" command and use a command like this:

document.location.href = 'file://X:\\TEMPLATE\\app-form.oft';

Best Regards,

User avatar
Member
Member
ta5ae - 4/19/2006 4:24:35 PM
   
Re: Page Menu Items using file:/// protocol, Site View issuse - C# 1.8c
Do you think that in the future the Site view will support this protocol or display the root as with JS commands?

Previous example should have read: 'file:///X:/TEMPLATE/app-form.oft'

User avatar
Guest
admin - 4/19/2006 6:34:48 PM
   
Re: Page Menu Items using file:/// protocol, Site View issuse - C# 1.8c
Thank you. We will certainly consider this for Kentico CMS 2.0.

Best Regards,