Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkinshow to  customize  dnn:LINKS ?how to customize dnn:LINKS ?
Previous
 
Next
New Post
4/24/2011 7:04 PM
 
I am trying to adapt a "world press" template for my DNN skin. I  used <dnn:LINKS runat="server" id="dnnLINKS"  Level="Root" Separator="</li><li>"  EnableTheming=false/> to generate main menu, here is the result <dnn:LINKS.../> gives me in practice (after skin is processed by the server ) :

----
<span id="dnn_dnnLINKS_lblLinks">
<a class="SkinObject" href="..">Link q</a>
<span class="SkinObject"></li><li></span>
<a class="SkinObject" href=...">Link 2</a></span>

-----
Though I want it to be simply like :
<li> <a ...> link 1 </a></li>
<li> <a ...> link 1 </a></li>


is there any way to get such result (to get rid of  span tags somehow  ) by setting properties or should I manipulate the core? and If I should where is the class related to dnn:LINKS ?

thank you :)
 
New Post
4/25/2011 5:23 AM
 
you may replace links skin object with your own version, I am not aware of an existing plain version atm.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/25/2011 6:34 AM
 

If I'm reading this right, you're using the [LINKS] SkinObject to generate your main dynamic menu, when you should really be using the [NAV] SkinObject. This can be set to render as a UL of links, take a look at Timo's example here: http://dnnskinextensions.codeplex.com... the [LINKS] SkinObject is used to generate the set of links at the bottom (or anywhere you like really) of the page that mimic the main navigation.

Hope this helps,

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkinshow to  customize  dnn:LINKS ?how to customize dnn:LINKS ?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out