Copied to clipboard

Flag this post as spam?

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


  • stc 72 posts 101 karma points
    May 12, 2010 @ 13:52
    stc
    0

    Cyrillic nodeName to Latin letters beforeNew...

    Hi guys,

      I've got a problem that I don't know how to solve...if at all can be done...I have a two alphabet cyrillic and latin website, alphabets are 1:1 so I have made an automatic transliterator that converts a newly created cyrillic node to an equivalent latin one.

      The problem I have is just with the fact that since initially the node is cyrillic then the nodeName value is cyrillic too...meaning Umbraco uses cyrillic letters in the URL for those nodes...which is something I'd like to avoid (since I've been told it's not SEO friendly not to use non-latin letters inside the URL).

      I can make a nodeName BeforeSave document event handler transliterator which does the job but fires only after I manually click the save icon...how could I make it fire automatically upon node creation...BeforeNew for documents doesn't exist, only AfterNew, but I don't get how to use it's sender object and get the nodeName from it? TIA

  • stc 72 posts 101 karma points
    May 13, 2010 @ 12:53
    stc
    0

    Please scratch this...oversaw New event...don't know how! :)

Please Sign in or register to post replies

Write your reply to:

Draft