When you create an item in the Content section it is automatically given a default url based on its name. For example:
"2009 Illinois Super Lawyers"
becomes
"2009-illinois-super-lawyers.aspx"
Is there a method in the API that will take a string ("2009 Illinois Super Lawyers") and return the stripped down name ("2009-illinois-super-lawyers")?
Get the url name from a string
When you create an item in the Content section it is automatically given a default url based on its name. For example:
"2009 Illinois Super Lawyers"
becomes
"2009-illinois-super-lawyers.aspx"
Is there a method in the API that will take a string ("2009 Illinois Super Lawyers") and return the stripped down name ("2009-illinois-super-lawyers")?
Thanks,
Matt
I don't know if there's an API but there is a config file that defines which chars are used for replacing spaces and other "no go URL chars"
Mikael
Huge help, which file?
found it, nevermind. thanks!
Good, cause i forgot where it is :-)
is working on a reply...