I am currently using URL Rewrite to setup Umbraco to use extensionless URLs. This works beautifully as all of the hyperlinks to my website are setup such as http://www.mysite.com/link_1. I have also customized the Breadcrumb and Navigation XSLT files to remove the ".aspx" extension from those hyperlinks.
My issue comes into play with the Content Picker. It's the last component left on my Umbraco site that still spits out the actual URL with an .aspx extension. I was wondering if there is a method I can override or a way to extend the Content Picker to not spit out the .aspx extension. I am a very handy C# programmer who is new to Umbraco so i'd rather extend or inherit a method than to rewrite the core code.
umbraco has such thing allready builtin. Open up web.config and change umbracoUseDirectoryUrls to true
No need to use URL rewrite, no need to customize XSLT. My guess is that the content-picker will work out of the box as well.
Customizing Content Picker
I am currently using URL Rewrite to setup Umbraco to use extensionless URLs. This works beautifully as all of the hyperlinks to my website are setup such as http://www.mysite.com/link_1. I have also customized the Breadcrumb and Navigation XSLT files to remove the ".aspx" extension from those hyperlinks.
My issue comes into play with the Content Picker. It's the last component left on my Umbraco site that still spits out the actual URL with an .aspx extension. I was wondering if there is a method I can override or a way to extend the Content Picker to not spit out the .aspx extension. I am a very handy C# programmer who is new to Umbraco so i'd rather extend or inherit a method than to rewrite the core code.
Thanks for any help!
Hi,
umbraco has such thing allready builtin. Open up web.config and change umbracoUseDirectoryUrls to true
No need to use URL rewrite, no need to customize XSLT. My guess is that the content-picker will work out of the box as well.
Cheers,
PeterD
is working on a reply...