Copied to clipboard

Flag this post as spam?

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


  • Thomas Kahn 602 posts 506 karma points
    Sep 29, 2009 @ 10:44
    Thomas Kahn
    0

    Scandinavian characters in the topic headline are subjected to URL replacing in detailed view?

    I just installed the forum package on my local testserver and everything works like a charm!

    There seems to be a slight problem with how Scandinavian (and probably other) characters are handled. In the topic overview, everything looks fine

    http://www.maaki.com/thomas/umbraco/forum/topic_listing.gif
    (screenshot)

    However, when clicking on the topic the headline is subjected to URL replacing:

    http://www.maaki.com/thomas/umbraco/forum/topic_detail.gif

    Is this a bug or is there a reason why it looks like this? Is there any way that I can fix it?

    Regards!

    /Thomas Kahn

     

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Sep 29, 2009 @ 13:15
    Morten Bock
    0

    I must admit that I can't remember how the title is fetched, but the subject has been raised before.

    Try looking in the xslt file that renders the topic. If it makes no sense, post here again, and I will try and follow up on it.

  • Thomas Kahn 602 posts 506 karma points
    Sep 29, 2009 @ 19:26
    Thomas Kahn
    0

    I think this is the line of code that prints the headline:

        <h2>
            <%= umbraco.library.ContextKey("topicTitle") %>
        </h2>

    I'm not sure what ContextKey does though?

    /Thomas

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Sep 30, 2009 @ 09:22
    Morten Bock
    0

    ContextKey fetches an item from the HttpContext. It is probably placed there by the 404 handler that finds the post. 

    Should be possible to get the actual heading form the forum item instead.

  • Thomas Kahn 602 posts 506 karma points
    Oct 01, 2009 @ 22:06
    Thomas Kahn
    0

    I'll look into that! Thanks Morten!

Please Sign in or register to post replies

Write your reply to:

Draft