Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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
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')
I created it over at codeplex :
http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=24748
is working on a reply...
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.
Continue discussion
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
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
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')
I created it over at codeplex :
http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=24748
is working on a reply...
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.