Hello! I amnew toUmbracoand have juststarted to learnhow it works.I installed the Sandstonetheme andnow I wonderhow Ichange the texton theHome buttontothe Swedish nameHem?
På svenska: Hej! Jag är ny påUmbracooch harprecis börjatatt lära sig hurdet fungerar.Jag installeradeSandstone-temat ochnu undrar jaghur jagändrartexten påknappen Home till det svenska namnetHem?
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
yes, Ihave installed adefault themeand ifyou look attheHTML codeon the home pageyou will seethepartlooks like this and near the bottom ofthe codeyou will findHome inbold.That'sthe wordHomeIwant to change toHeminstead ofHome:
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.
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
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
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"> </div>
</div>
Thanks
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
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
is working on a reply...