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>

<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="">

btw. AddToHead is working without any problems

Dnn Version: 06.02.04
40FINGERS.NET StyleHelper version: 2.6.5
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..
Oct 2, 2013 at 2:51 PM
Hi Dawid,

Did you see my reply?