Copied to clipboard

Flag this post as spam?

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


  • Knabenson 4 posts 24 karma points
    Nov 19, 2012 @ 22:27
    Knabenson
    0

    Change the name Home of the Home button to Hem

    Hello!
    I am new to Umbraco and have just started to learn how it works. I installed the Sandstone theme and now I wonder how I change the text on the Home button to the Swedish name Hem?

    På svenska:
    Hej!
    Jag är ny på Umbraco och har precis börjat att lära sig hur det fungerar. Jag installerade Sandstone-temat och nu undrar jag hur jag ändrar texten på knappen Home till det svenska namnet Hem?

     

    Thanks

    Tack

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 20, 2012 @ 06:30
    Tom Fulton
    0

    Hi Tack,

    I'm not sure what you mean by the Sandstone theme.  Did you install one of the starter kits?

    Most navigations read the page names from the Content tree.  To change the name of a page there, you can click on the page, then click the Properties tab, adjust the Name field and click Save/Publish.

    If not, it might be hardcoded into the template which you can check from the Settings -> Templates area - just look around the HTML that encompasses your menu.  Otherwise, it might be hardcoded in a Macro which you can see referenced on the template.  In that case, you'll likely need to edit the associated XSLT file in Developer -> XSLT

    Let us know how you get along

    -Tom

  • Knabenson 4 posts 24 karma points
    Nov 20, 2012 @ 18:59
    Knabenson
    0

    Hi Tom,

    yes, I have installed a default theme and if you look at the HTML code on the home page you will see the part looks like this
    and near the bottom of the code you will find Home in bold. That's the word Home I want to change to Hem instead of Home:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!--
    Design by Free CSS Templates
    http://www.freecsstemplates.org
    Released for free under a Creative Commons Attribution 2.5 License

    Title      : Sandstone
    Version    : 1.0
    Released   : 20091109
    Description: A two-column fixed-width template suitable for small websites.

    -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="ContentPlaceHolderDefault_head"><meta http-equiv="content-type" content="text/html; charset=utf-8" />
     
     
      <!-- META Tag Macro -->
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="imagetoolbar" content="false" />
       <!--Styles-->

        <link rel="stylesheet" type="text/css" href="/css/custom.css" media="screen" />

      <!--Scrips--> 
      <script type="text/javascript" src="/scripts/jquery-1.4.4.min.js"></script>
      <script type="text/javascript" src="/scripts/jquery.cycle.all.min.js"></script>
      <script type="text/javascript">
    $(document).ready(function(){
        /* Dots Slider 1 */
        $(function(){
          $('#imageSlider')
          .after('<div id="imageSliderNav">')
          .cycle({
            fx:  'fade',
            speed:  1550,
            timeout: 8000,
            pager:  '#imageSliderNav'
          });
      });
    });
    </script>

    <title>

    </title></head>
    <body class="t">

     
        <div id="logo" style="display:none">
          <h1><a href="/">Your Blog</a></h1>
        </div>

     
     <div id="page">
      <div id="header">
        <a href="/"><img src="/images/logo.gif" width="259" height="65" /></a>
        <div id="sitedescription">
          <h1>"Ett hem utan katt är bara ett hus"</h1>
        </div>
        <div id="mainmenu">
                <ul id="topNavigation"><li class="home current"><a href="/">Home</a></li><li><a class="navigation" href="/vaelkommen.aspx"><span>Välkommen</span></a></li><li><a class="navigation" href="/arkiv.aspx"><span>Arkiv</span></a></li><li><a class="navigation" href="/tag-cloud.aspx"><span>Tag Cloud</span></a></li><li><a class="navigation" href="/om-oss.aspx"><span>Om oss</span></a></li></ul>
        </div>
        <div class="mainmenucorner">&nbsp;</div>
      </div>

    Thanks

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 21, 2012 @ 08:06
    Tom Fulton
    0

    Hi,

    Did you try changing the name of the Home node in your content tree?

    If so and it still doesn't work, you'll need to look at the Template in Umbraco (Settings -> Templates) to see where it's getting added.  Look for <div id="mainmenu"> and see what's after that -- most likely it's a reference to a Macro.  If so you can find the corresponding macro under Developer -> Macro and see which XSLT file it's mapped to.

    -Tom

  • Knabenson 4 posts 24 karma points
    Nov 21, 2012 @ 17:26
    Knabenson
    0

    Hello again,
    thanks to your great advice, I got it to work.
    I just followed your very good and clear instructions.
    Kudos to you.

    best regards
    Knabenson

Please Sign in or register to post replies

Write your reply to:

Draft