Copied to clipboard

Flag this post as spam?

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


  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Sep 26, 2009 @ 11:00
    Dave Woestenborghs
    0

    Create overload for NiceUrl so it accepts alttemplate

    Can you create an overload for NiceUrl so it takes a alttemplate parameter ?

     

    So it becomes NiceUrl(1234,'customtemplate) and it will generate /page1234/customtemplate.aspx

     

    Dave

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Sep 26, 2009 @ 12:06
    Aaron Powell
    0

    Hmm I can see benefit in this, post it on the codeplex site and if it is high voted it's likely to make it :)

  • Comment author was deleted

    Sep 26, 2009 @ 12:21

    Currently it should also be possible doing this with the help of the replace method:

    umbraco.library:Replace(umbraco.library:NiceUrl(1234),'.aspx','customtemplate.aspx')

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Sep 29, 2009 @ 15:58
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies