AddHtmlAttribute doesnt work

Sep 19, 2013 at 12:47 PM
Edited Sep 19, 2013 at 12:48 PM
Hi there,
my problem with stylehelper is that i cant change lang value in <html>

Tried:
<fortyfingers:STYLEHELPER ID="SH1" AddHtmlAttribute="xml:lang,ru-RU" runat="server" />
<fortyfingers:STYLEHELPER ID="SH1" AddHtmlAttribute="xml:lang,ru-RU" IfUrl="rus" runat="server" />

But there is allways (in source view):
<html xml:lang="pl-PL" lang="pl-PL" xmlns="http://www.w3.org/1999/xhtml">

btw. AddToHead is working without any problems

Dnn Version: 06.02.04
40FINGERS.NET StyleHelper version: 2.6.5
Coordinator
Sep 19, 2013 at 6:06 PM
Hi Dawid,

That's strange, I just tested this:
<fortyfingers:STYLEHELPER ID="SH1" AddHtmlAttribute="xml:lang,ru-RU||lang,ru-RU" runat="server" />
In both DNN5 & DNN 6.2.7 and it works as expected.
It also changes the nl-NL on the lang attribute.
Are you 100% sure you are editing the right skin?

Is the pl-Pl set by DNN or do you somehow manipulate it?

I cannot imagine this would be an issue specifically with the pl-PL language..
Coordinator
Oct 2, 2013 at 2:51 PM
Hi Dawid,

Did you see my reply?