This project is read-only.

transliteration of the Cyrillic alphabet

Apr 1, 2015 at 4:17 PM
Hello. How can I make a global RussianWebpageUrlGenerator to replace DefaultWebpageUrlGenerator?
For a particular type of page ArticleUrlGenerator like clear. But not want to do for each type of page separately.
I'm interested in the global transliteration of the Cyrillic alphabet.
Apr 2, 2015 at 12:05 PM
Edited Apr 2, 2015 at 12:05 PM

Simply create a implementation of IWebpageUrlGenerator - you will then be able to select the use of this against your page types in System -> Page Defaults

Here is an example generator which adds the date to the URL:
public class NewsUrlGenerator : WebpageUrlGenerator<News>
    public override string GetUrl(string pageName, Webpage parent, bool useHierarchy)
        var stringBuilder = new StringBuilder();

        if (useHierarchy && parent != null)
            stringBuilder.Insert(0, SeoHelper.TidyUrl(parent.UrlSegment) + "/");

        stringBuilder.AppendFormat("{0:yyyy/MM/dd/}", CurrentRequestData.Now);
        return stringBuilder.ToString();
Apr 3, 2015 at 5:04 PM
I did for the Article,TextPage. But this: 2 files. And I would like to do one. Versatile and for Article and for TextPage and for the new like Comment.
By the way, you do not have any example for the implementation of comments?
And thank you for an excellent framework!
Apr 13, 2015 at 2:17 PM
Apr 15, 2015 at 11:19 AM
Edited Apr 15, 2015 at 11:19 AM
@thought ,hello.

about the commenting app,I had sent a mail to you.

some error for the commenting app. eg. MrCMS.Web.Apps.Publishing isn't exsit..

hope your fix. thanks.

----------------other error---------------------------------

MediaCategory sort can't run


I had added some files to MediaCategory.

but I can't sort this files when I want to order this files.

no model data has records when I click the "Sort Files".