Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • sidney.andrews@vdfp 10 posts 20 karma points
    May 19, 2009 @ 15:47
    sidney.andrews@vdfp
    0

    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!

  • Peter Dijksterhuis 1442 posts 1722 karma points
    May 19, 2009 @ 15:53
    Peter Dijksterhuis
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft