The problem seems related to the installed package Language Selector
This package needs the runat="server" attribute in the head tag of my master template. But if I set the runat="server" attribute in the tag like then the literal text ' - ' is ignored.
Can't you just omit the stuff and just create normal white space using space? Otherwise I don't know how to solve it using the umbraco:Item but it should be fairly easy to solve it by rendering these informations in XSLT instead.
no spacing in title tag in header
Hi,
I have this weird problem. I want to define a pagetitle for my browser like this:
sitename - pagename
so I defined this title tag in my master template:
<title><umbraco:Item field="siteName" recursive="true" runat="server" /> - <umbraco:Item field="pageTitle" runat="server" recursive="true" /></title>
but for some strange reason the literal text - is ignored and I get this page title in my browser window:
sitenamepagena
I use Umbraco 4.5.2
Anyone also experienced this problem?
Thanks for your help,
Anthony Candaele
Belgium
The problem seems related to the installed package Language Selector
This package needs the runat="server" attribute in the head tag of my master template. But if I set the runat="server" attribute in the tag like then the literal text ' - ' is ignored.
Hi Anthony
Can't you just omit the stuff and just create normal white space using space? Otherwise I don't know how to solve it using the umbraco:Item but it should be fairly easy to solve it by rendering these informations in XSLT instead.
/Jan
is working on a reply...