1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Cyrillic name of category and anchor link

Discussion in 'Resolved Bug Reports' started by Romchik®, Jan 19, 2011.

  1. Romchik®

    Romchik® Well-Known Member

    This it's not work.

    But it's work, if we add in template node_category_level_1 this code
    <a name="{xen:helper linktitle, $category.node_id, $category.title}" />
    <li class="node category level_{$level}" id="{xen:helper linktitle, $category.node_id, $category.title}">
    Sergio Bambaren and Yoskaldyr like this.
  2. Vincent

    Vincent Well-Known Member

    What seems to be the problem?
  3. Mike

    Mike XenForo Developer Staff Member

    Looks like Opera and FF have issues with that. IE and Chrome are fine.
    Romchik® and Vincent like this.
  4. Vincent

    Vincent Well-Known Member

    Safari is fine too
  5. Mike

    Mike XenForo Developer Staff Member

    The only way this can be consistently addressed is by romanizing the ID. In HTML5, all sorts of IDs are valid (effectively any string). However, when you throw urlencoding into it, things get hairy. The URL basically has to be urlencoded to be valid. So that means that the ID definition itself can be in either state. When the ID is urlencoded, IE and Chrome are fine. When the ID is not urlencoded, Chrome and FireFox are ok. Things might be more consistent if the URL wasn't encoded, but doing that will expose us to some problems in certain areas.

    So that leads us to simply romanizing the ID. You can now force romanization in certain scenarios in the link builders. I will probably investigate exposing it further for a future release if we can get enough performance out of it.
    Romchik® likes this.

Share This Page