Fix Broken Category Class Title in SharePoint 2010 Blog site

December 12 2012 17 comments

There is an old bug in SharePoint 2010 that surfaces to me from time to time: blog site category title doesn’t render correctly if it contains some funny foreign characters we Finnish like to use in our language.

The power of umlauts is too much for this blog

The reason I’m writing this down right now is that I’ve got a case tomorrow at work where I have to fix this. This happens on a regular basis and I always write the fix from the scratch. Only this time, I don’t have to do it. I’ve got the CTRL-C / CTRL-V solution right here.

Buğra Postacı has blogged a solution that involves SharePoint Designer and manual labour earlier this year. As I’m not a fan of either I decided to use some nasty client script to hack the problem.

But let’s start with CSS!

Those question marks look weird in the category title, let’s get rid of the title by applying a CSS display: none.  As we’re going to use JavaScript for our fix, it will take a few milliseconds to complete. I’m doing this CSS hiding to prevent flicker until the JS kicks in. Pure optional, that is.

h3.ms-CategoryTitleMonth { display: none;}

Let's hide the title with a bad word, there might be children watching

The Javascript

I’m going to be using my favourite DOM manipulation library, jQuery combined with some vanilla JS but you can use whatever works for you. I’m just using the jQuery to find the element, so it is a bit of an overkill here but this is just an example.

First we need a helper function getUrlVars() to parse the URL and get to the hash. We will be using that to get the category name.

function getUrlVars() {
    var vars = [], hash;
    var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
    for (var i = 0; i < hashes.length; i++) {
        hash = hashes[i].split('=');
        vars.push(hash[0]);
        vars[hash[0]] = hash[1];
    }
    return vars;
}

When the page is ready, we set the textual content of the category title to the decoded hash value and show the element (it was initially hidden with CSS). I’m using PageLoad() here because the page I’m using has a postback but once again you can use whatever works for you.

function pageLoad() {
    $j('h3.ms-CategoryTitleMonth').text(unescape(getUrlVars()['Name'])).show();
}

Which translates to:

The Iceman cometh!

That’s all there really is to it. Have fun.

Popularity: 3% [?]

17 comments to “Fix Broken Category Class Title in SharePoint 2010 Blog site”

  1. Jukka Kotamäki says:

    Great Article, Tuukka!

    Another option would be to create a small feature, which will copy to Layouts\XML\Blog.xsl – file to a new name and copy a new blog.xsl file to that folder. This blog.xsl file has only one difference: there’s a place where the “safe characters” are defined: just add to the list ÄÖÅ and äöå characters :-) and by magic the blog starts to work.

    More precise: search for and a place:
    !’()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZÅÄÖ_abcdefghijklmnopqrstuvwxyzåäö~

    -Jukka-

  2. Jukka Kotamäki says:

    oops, the previous comment seemed to lost the thing what to search for: template name=”url-encode”.

    Hope nothing is missing now when I hit Submit :-)

    -Jukka-

  3. Carl says:

    Hi there colleagues, how is everything, and what you want to say regarding
    this paragraph, in my view its in fact awesome in favor of me.

  4. We produce Bitcoin miners and Bitecoin miners. We are the direct vendor.

  5. Hello, I wish for to subscribe for this web site to get newest updates,
    therefore where can i do it please help.

  6. magnificent issues altogether, you simply received a new reader.
    What would you suggest in regards to your publish
    that you just made a few days ago? Any sure?

  7. Many thanks, this website is really practical

  8. nba mt coins says:

    Many thanks, this website is really helpful

  9. madden 17 says:

    Great looking site. Assume you did a great deal of your ownyour very own html coding

  10. Thanks very beneficial. Will certainly share site with my buddies

  11. Hope you will not get tired on making posts as informative as this.

  12. Sexy Bikini Swimsuit
    “This world doesn belong to them” doesn have to mean the literal entire
    world (at least, not yet). At this point I think control of the park, where they always lived, is the goal.
    I think Dolores speech to Teddy on the beach backs that up a bit.
    At Men’s Warehouse, one will find a larger selection it is a
    warehouse, after all but the quality still trends towards suits that look
    good from afar. Many suits can be made to look good from a distance, and again, if you are on a budget, this may be exactly what you are looking for.
    Their suits can be on the flashy side.

    cheap bikinis The law firm may also be sanctioned, or even held in contempt.
    Tax Court decision was “maintained primarily for delay” or where “the taxpayer’s position in the appeal is frivolous or groundless.”[1]
    A common example, as shown below, is an argument based on tax protestor claims.
    Courts of Appeals where litigation by the losing party has caused damage to
    the prevailing party, the court may impose a requirement that the losing party pay the prevailing party for those damages.[6].
    cheap bikinis

    Tankini Swimwear It always a bonus if that comment happens to
    be all of the above and also wrong, but that not a requirement.Rule 3: You
    can either link directly to a comment/discussion or you can post screen shots if you
    don want to link directly to the comments. If you using a source outside of Reddit you can link
    directly or take a screenshot, but screenshots are preferred.Rule 4:
    You can post comment chains that you involved in. Just don start an argument and post it here.
    Tankini Swimwear

    Cheap Swimsuits There was a post of a Christian asking questions about gay people.
    The fact that he tries to educate himself about us, opens his mind
    is something we should encourage, but instead all the top comments ridicule his diction, attack his belief and
    call him names because he uses the word “choice”.
    If he were any hateful Christian, he wouldn have bothered asking,
    he just declare it a choice. Cheap Swimsuits

    beach dresses And maybe you think that saying that is per
    se normalizing racism.(e) Even so, this isn the
    kind of thing the racism rule is aimed at, in my opinion. The racism rule
    is aimed at things like the comments that I deleted (and banned the poster)
    that consist of nothing other than the n word. It certainly
    colors the other points anyway. beach dresses

    Sexy Bikini Swimsuit I do, however, think we need a system in place
    to provide confidential professional therapy, medical help and treatment to
    pedophiles who haven committed a crime. There not many places that help with
    that, and places like r/pedofriends are not helping anyone, and just fostering an environment
    that encourages them and discourages them to seek help. It like Fat Acceptance on a much worse level..
    Sexy Bikini Swimsuit

    Bathing Suits Their treatment of Luke I actually loved from the start, EXCEPT moments played for pure comedic value (throwing the light saber after such a hugely emotional
    moment, and the milking scene which was completely unnecessary).
    My issues are more with the Canto Bight plotline (weak
    characters, weak writing, weak plot)!and some tonal issues (turning every serious moment into a joke).
    But on the whole, this is the most memorable Star Wars
    for me so far. Bathing Suits

    wholesale bikinis The release of Harry Potter and the
    Philosopher Stone (released as Harry Potter and the Sorcerer Stone
    in the United States) took place in 2001. The story follows Harry, a young boy who learns
    he is a wizard and is sent to Hogwarts School of Witchcraft and Wizardry to begin his education; gaining the
    help of friends Ron (Rupert Grint) and Hermione (Emma Watson) along the way.

    Radcliffe received a seven figure salary for the lead role,
    but asserted that the fee was that important to him; at all of the most current short article on our blog.

    wholesale bikinis

    bikini swimsuit I do not blame you or condemn you, and I promise, staff is generally pretty perceptive to
    why families aren visiting. Again, this was not a condemnation of family
    members who are NC, who are absent, who are removed,
    etc.I am really appreciative of this conversation and I hope
    that this spurs you to have conversations with yourself/spouse/sibling/parent/etc about later in life planning.

    Maybe it made you think about money in a new way, saving, etc
    because it is not cheap to have care in the home or to be in a facility bikini swimsuit.

  13. Bathing Suits
    We all have a lot of work ahead of us if we want to make a better world,
    and it’s hard but don’t sit there and think
    someone else will take care of it. Do what you can,
    even if it’s just leaving a comment because maybe that
    can change your world or someone else’s. Anything can happen at
    a moment’s notice and it could affect any of us, from that, we can choose to be some that leads or
    you could turn in a monster.

    dresses sale People with fat toes are great sellers and talkers
    and will even sell you your own clothe while offering you
    a discount. They are determined to excel in any business venture and sometimes will go all out or do anything possible to succeed.

    So the next time you can see someones toe and you see that they have the beach toe, hang on to your purse and wallet and plug your hears to
    escape the smooth talking business beach toe. dresses sale

    beach dresses The driver will very quickly adapt to
    the width. We can see from the Race of Champions event that how quickly they adapt to different cars with varying width,
    Power etc., through very narrow stadium tracks. There was a pass from
    a coach in warmups moderately off target to Cooks and he nevertheless reeled it in.
    That was before he even put his gloves on during the group sessions.
    It not much, but it an indication of his considerable talent.4) When the offense was
    going through routes against air, Goff connected with wide receiver
    Mike Thomas on a deep pass on the left side of
    the field. beach dresses

    Cheap Swimsuits It was later determined that these smoke puffs were caused by
    the opening and closing of the aft field joint of the right hand SRB.
    The booster’s casing had ballooned under
    the stress of ignition. As a result of this ballooning, the metal parts of the casing bent away from each other, opening a gap through which hot gases above 2,760 (5,000 This had occurred in previous
    launches, but each time the primary O ring had shifted out of its groove and formed a seal.
    Cheap Swimsuits

    Tankini Swimwear Here my reasoning for my current formula.
    (Accuracy_formula on desmos, not Accuracy_2.) It made of two different parts, the tracking vs nav part and the range/accuracy part, with both ranging between 0 and 1;
    either falling below 0 is a guaranteed miss.
    According to the tracking vs nav part, accuracy sits at about 1 when facing a low nav spacecraft,
    but as nav increases, a point is soon reached where
    the weapon can keep up and accuracy declines quickly.
    Tankini Swimwear

    cheap bikinis It takes a certain amount of talent to play Zeppelin songs efficiently.
    Also I can comment on your friends in high school since I can hear them.
    It is a pointless comparison.. It was just a little head trauma.

    They said it might effect my memory but I haven’t noticed anything.
    I’ve hit my head a lot. cheap bikinis

    dresses sale Realistically though, depending on the intensity of the injury recovery isn complete.
    It not a muscular injury so it entirely possible to perform well, but
    wouldn be surprised to see issues pop up again so Special finally ends up having to move past the
    idea of just trying to catch up to Suzuka.
    Especially since they hinted at her potentially not being able to run at 100% anymore..

    dresses sale

    Sexy Bikini Swimsuit I definitely didn interpret your comment as rude I am a
    patent attorney, and nothing is worse than a client telling me “well I already drafted most of the application, so I should get a discount.”
    It just doesn work that way, and client simply do
    not know what is “good” or “bad” when it comes to a patent.
    In the same way, I realize I have no frame of reference to see why art is “good” or
    “bad” from a technical standpoint. I just know
    what I find visually pleasing, and if that leads me to decorating my home with “bad” art, then I totally okay with it..

    Sexy Bikini Swimsuit

    one piece swimsuits This company is focused on profits
    as well as returning cash to shareholders (more on this in a
    bit), but it doesn’t come without problems. Legacy carries and this will require
    increased capex to address in the future. Older planes tend
    to require more maintenance. one piece swimsuits

    wholesale bikinis Activi$ion has been sucking people dry for too long.I am a problem.

    The issue with me, unfortunately for you, is that I reality.
    The sad truth. Overall I pretty content with the board, considering it only took me about a year and a half to get here lol.
    I may need a compressor, a booster, and a nosie reducer (should I choose to play my MIM strat).
    I had my choices narrowed down to an mxr dyna comp,
    a TCE mini spark, and a TCE sentry wholesale bikinis.

  14. Tankini Swimwear
    Thanks, Glenn, and thank you all for joining us today. We had a good quarter, achieving $0.185
    per diluted share which included $0.03 from the partial
    quarter contribution from the Cole Capital, which is reflected in discontinued operations.
    The sale of Cole was completed on February 1.

    Sexy Bikini Swimsuit The other thing to think about with respect
    to sparking Diantha is that while she limited and
    powerful, she not a grand series character and thus doesn come with
    a crazy strong weapon like Katalina does (and, presumably, Drang,
    once the ball gets its FLB). Assuming you have access to a Varuna or
    Demi Varuna, Diantha is probably not the strongest pick you could make, though her rarity makes her
    a better choice than Altair you not nearly as likely to randomly draw
    her from a free draw. Plus it pretty neat when she ougi and changes the background music..
    Sexy Bikini Swimsuit

    swimwear sale Anyone who actually interacted with the
    owner knew all of these things. We avoided the bar for years after my husband tried to pick him up as
    a client. They had lunch and after a half hour he tried to get
    my husband to pay for lunch (instead of separate checks)
    and also said, “Well, we got some gay n word that does it cheap anyway.”.
    swimwear sale

    bikini swimsuit Basically the moral lense they
    typically view things through is “who has more power” (and they
    support the underdog). For me the relative power relations are
    less important than harm done or freedom restricted (and these are often in tension).
    An example would be regulation on tesla for workers or something, they think “elon musk is rich so we dont have to worry about him, workers are relatively powerless so we should support them” whereas i think “is this regulation causing harm to or unjustly restricting either musk or the workers”.
    bikini swimsuit

    beach dresses We were coming back from a high adventure
    in Montana and our leader got pissed and tried to leave us
    out in the middle of nowhere. He made us get out of the car but then we just all stood there in front of his vehicle so
    he couldn’t drive past. He was screaming and honking the horn for a long time until
    he finally let us back in. beach dresses

    Sexy Bikini Swimsuit When on Meds person Is totally normal.
    How do they get someone to take their Meds at a psych hospital if they keep refusing?
    Thank you. Serious answers only pleaseHaving social anxiety be likeI take it for anxiety, at a very
    low dose.. In our third party e commerce, our business grew by 10%.
    E commerce business with our brick and mortar consumer as well as
    pure Internet players continue to be our best way to reach the omni channel customer.

    On the international side, we should represent 10% of our built up revenue, our business
    grew by 28%. Sexy Bikini Swimsuit

    beach dresses And that was really the situation. The seven great trusts, working together, had
    pooled their enormous surpluses and made a farm trust.
    The railroads, controlling rates, and the bankers and stock exchange gamesters, controlling
    prices, had long since bled the farmers into indebtedness.
    beach dresses

    Monokinis swimwear OP, I would support your sister and keep
    distance from your father. He clearly wants freedom from
    being an pareni the sooner you guys can take care of yourself without his dependence,
    the better for all parties. I sorry you don really have
    a father figure in your life :/. Monokinis swimwear

    Cheap Swimsuits You don have to write down your
    answers to all of these questions, although you are certainly free to
    do that. There also no pressure to write anything down at all,
    but I do recommend taking a look at the questions below so that you can start thinking of what to say.
    Keep in mind that the professional just
    wants to get a clear picture of your life, so that they can give you the
    best care possible. Cheap Swimsuits

    wholesale bikinis Flights up and down the nearby coast also
    helped the team get an idea of where flooding had occurred and which villages were hit hardest.
    Combined, those are tasks that experts said would have taken a
    lot more time and manpower to complete by foot.
    They also said the flying machine could have been used to search
    for survivors, had it arrived on the scene right after the
    typhoon swept through [source: United Nations] wholesale bikinis.

  15. Women’s Swimwear
    That being said, competition is feirce, and if
    you don have any experience working AS A BCBA, you may be at
    a significant disadvantage to those who have. A large portion of BCBA
    work in the field of special ed and autism, and you may have to
    hone your skills and build up your resume there as a BCBA before you get any good hits in the public schools.
    I know for the job I have now, there were over 20 applicants, and
    I got the position due to my experience.

    Monokinis swimwear There a good amount of programming
    too, so I think you be satisfied. Can speak to much to the music
    part, but I think you could do stuff related for that
    in your group project or dissertation, a few examples come to mind.
    Feel free to ask any questions.. Monokinis swimwear

    bikini swimsuit Diluted earnings per share were $0.13 in the first quarter compared to breakeven earnings per share a year
    ago. Contract wins and extensions have benefited the quarter, as all our segments and end markets experienced
    growth. The macroeconomic conditions for our end markets are all
    very positive and continue to improve with customers spending higher than last
    year were concentrated in areas where we operate.
    bikini swimsuit

    cheap bikinis O nome da Ipanema tornou se sin de chinelos no Brasil.
    Gra aos materais que a Ipanema utiliza para construir os seus chinelos de primeira qualidade, pode ficar seguro/a de ter um um chinelo perfeitamente moldado ao
    seu p podendo assim cal durante todo o dia sem se aperceber que
    o tem. Eles s t giros. cheap bikinis

    Cheap Swimsuits Yes, i already know the ending beforehand, because
    TV Chosun stupidly released a spoiler article earlier today, although that was subsequently
    taken down. There is absolutely no ‘suspense’ whatsoever.
    And the ‘fight’ is really brainless. Older kids mess
    with the Arduino and I can tell when they are getting bored so I say “Hey, maybe this isn your idea of fun. But I have something better. Want to be able to play all sorts of games, for free?” and I
    hand them a Raspberry Pi and point them to RetroPi website and again, their eyes light up like
    the younger kids.. Cheap Swimsuits

    bikini swimsuit Additionally people want to date someone who
    they view as an equal. A 14 year old cannot be the equal of a mature and we adapted 20 year old.
    I am not saying you aren a great person. As Esser puts it, it
    was men who have always more or less been the governors of the
    body’s modesty. In that regard, Ancient Greece and Rome
    could well be said to have been no less patriarchal than contemporary Western society; the only difference being that while the former was a gay male patriarchy which catered for
    the homosexual male gaze, the latter is a straight
    male patriarchy, which caters for the straight male gaze.
    In my humble opinion, neither of these phenomenon is healthy; both
    of which undoubtedly end up repressing a certain segment of the population from expressing their sexuality, and a certain segment of the population from enjoying
    the aesthetic value of the opposite sex.. bikini swimsuit

    bikini swimsuit In my experience, redheads are always one of two types of
    crazy and if you really unlucky they both. This one is a lot of readily perceived insanity and can seem pretty
    bad, but the other type is way worse. The other type of crazy is that mind fuckery type of crazy, she works
    her way into your consciousness, she controls your every action without you realizing it,
    she will mind fuck you from here to kingdom come and in the end your just
    left a lump of your previous self. bikini swimsuit

    beach dresses She was directly in line with the animal,
    so Robin dared not launch an arrow. Her own bow was slung across
    her shoulder, and her small sword would be useless against the beast’s
    charge. But now as she caught sight of the stag she pursed her lips as though she would whistle
    to it.. beach dresses

    swimwear sale Effective January 2, 2018. Our mutual agreement
    and understanding is as set forth herein. All terms not otherwise defined herein shall have the meanings ascribed thereto in your with an effective
    date as of July 7, 2008, as amended and restated (the The effective date
    of this Agreement shall be the date that you execute this Agreement below ( Successor Hire Date swimwear sale.

  16. Monokinis swimwear
    Germany’s Next Topmodel, Cycle 5 is the fifth
    season of the show that was aired on the German television network
    ProSieben. The show started airing on 4 March 2010.
    In difference to former seasons the show saw a significant change as the
    audition process was completely open this time whereas every model wannabe got a chance to audition in front of the jury led by
    Heidi Klum.

    swimwear sale Okay, I genuinely hope people find this comment,
    this post is already blowing up but I’ll give it
    a shot. Might not be everyone’s thing she covers all kinds
    of death related stuff, from mummies to Eva Peron’s corpse to
    why crypts don’t smell, etc. but she also makes consumer
    protection videos informing her viewers of all the shady shit other morticians and funeral homes try to pull with their customers.
    swimwear sale

    Monokinis swimwear First and foremost, the loss
    of thick forests has accelerated in Asia. Like areas of Tropical
    rain forests, vast swathes of land are cleared for agricultural
    production. When this happens, tigers lose their vegetative cover,
    are forced into inhabited areas for prey. Monokinis swimwear

    dresses sale After all, he showed how capable he is when it comes to
    long term planning in that he schemed for dozens of movies to get the gauntlet in the first
    place. But then that last part of this plan by
    this tactical Person is short sighted and
    ineffective. Thanos is “crazy” in that he doesn mind genocide but he isn supposed to be stupid when it comes
    to planning.. dresses sale

    Tankini Swimwear Erin Bower 2 years ago from Georgiapoetryman6969: Thanks for voting!
    I agree; it doesn’t take much effort and Bing Rewards is great if
    you are using it as your search engine anyway.

    I like how you can watch videos on My Points, but it takes longer to earn points.

    Shopkick is the easiest to use, especially if you go to the participating stores often.poetryman6969 2 years agoVoted up.
    Tankini Swimwear

    Sexy Bikini Swimsuit The social norm in some countries is
    to wear considerably less or briefer clothing than in others.[4] Fashions since the mid 20th century has been towards briefer, more form fitting styles, as well as thinner and sheer materials.
    In some cultures, including some in Africa, Latin America and South East Asia/Oceania, traditional dress consists of less
    clothing than those of the West. Some religious
    traditions or rituals require the members to be nude,
    as was the case with the ancient Indian Gymnosophists or the Christian sect of the Adamites (the custom is
    still practised by ascetics of certain Indian religions,
    as in Jainism). Sexy Bikini Swimsuit

    dresses sale Call her often. Tell her you love her.

    After all, you now know what it is to be
    a true mother.. It takes grinding to raise your level and EVs and a lot of rng to get the perfect iv + nature you want.
    It just a chore. Nothing really engaging or enriching about it.

    dresses sale

    Women’s Swimwear The boat was slid down a 50 foot ramp
    and onto the water. The ride cost $0.10.In 1911 Bay View Beach was sold to Frank Emery Murphy, Born 1862 (Green Bay Alderman, Corporate Executive of
    Murphy Lumber, Murphey Supply, Morley Murphy Company,
    Owner of The Prestigious Horse Shoe Bay Farms in Door County, Wisconsin ) and Fred A.

    Rahr Born 1863, (Green Bay Alderman, Operator of The Rahr’s
    Brewing Company, Treasurer of the Volunteer Green Bay Fire Department when it was organized
    in 1887). Women’s Swimwear

    cheap bikinis So I take the noble action. I quit high school.
    I go to the nearest large factory. Just because a strategy has a history of beating an index doesn’t mean it
    is the best strategy for YOU. For almost any legitimate
    investment strategy to work, you need to give it
    time; ideally, you want to be thinking in terms of decades.
    This is true whether you are a dividend growth investor like me or any other type
    of investor (Value, Index, growth, etc.).. cheap bikinis

    Bathing Suits Some cutaway shot ideas include: flowers and bows
    on the pews, exterior of location with sign perhaps with cars pulling up,
    water fountains, wedding cake, candles at the wedding service or center pieces at the reception, wine glasses, crowd mingling/eating/entering, etc.
    Cutaway shots don’t necessarily have to be static; you may use pans and tilts, zooms,
    etc. Don’t overuse any one of them though Bathing Suits.

Leave a Reply