Hey guys,
I'm pretty new to using DotNetNuke and not very familiar with certain aspects of the framework and its code structure yet.
Therefore, I would like to apologize for maybe asking stupid questions upfront. ^^
But now to my problem...
I have installed DNN 5.6.0 about 2 weeks ago, read and watched some tutorials about installation, administration and skinning, and then created my own skin in the default portal of the installation.
Except of a few difficulties due to my lack of knowledge everything worked pretty well, but now I'm starting with using and customizing the ASP.NET control tags for some parts of the website.
In particular, I'm using
<
dnn:NAV
runat
=
"server"
id
=
"dnnNAV"
ProviderName
=
"DNNMenuNavigationProvider"
Level
=
"root"
... />
in order to create the main menu on top of the site.
Now my problem with the resulting output is, that DNN wraps several <span> tags around the actual nodes of the main menu.
For example:
<
span
id
=
"dnn_dnnNAV_ctldnnNAV"
class
=
""
tabindex
=
"0"
style
=
"-moz-user-select: none;"
>
<
span
id
=
"dnn_dnnNAV_ctldnnNAVctr36"
class
=
" sel bc mi mi0 id36 root first last firstlast"
>
<
span
class
=
"icn"
></
span
>
<
span
id
=
"dnn_dnnNAV_ctldnnNAVt36"
class
=
"txt"
style
=
"cursor: pointer;"
>Home</
span
>
</
span
>
</
span
>
However, I would like to produce an output in the HTML markup like this:
<
ul
id
=
"mainmenu"
>
<
li
class
=
"menuitem first"
>
<
a
href
=
"#"
>Lorem</
a
>
</
li
>
<
li
class
=
"menuitem active"
>
<
a
href
=
"#"
>Ipsum</
a
>
</
li
>
<
li
class
=
"menuitem"
>
<
a
href
=
"#"
>Dolor</
a
>
</
li
>
<
li
class
=
"menuitem"
>
<
a
href
=
"#"
>Sit</
a
>
</
li
>
<
li
class
=
"menuitem last"
>
<
a
href
=
"#"
>Ahmet</
a
>
</
li
>
</
ul
>
but I still can't figure out where to change what in order to produce this output.
Every kind of help with this issue would be greatly appreciated. :)
Thanks in advance and kind regards,
Chris