Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  dnnMENU question for the Skinning Team
Previous Previous
 
Next Next
New Post 6/16/2008 3:09 PM
User is offline Cuong Dang
275 posts
engagesoftware.com
9th Ranked


Re: dnnMENU question for the Skinning Team 

 Brandon Haynes wrote

Hi Cuong,

I use Telerik's RadMenu exclusively, but since no one else has responded maybe I can yield some insight into your problem.

To diagnose problems like these, I suggest looking at the menu navigation provider and seeing how the relevant values are being used.  Looking in Library/Providers/NavigationProviders/DNNMenuNavigationProvider/DNNMenuNavigationProvider.vb, I see the CSSSeperator attribute being used as follows:

If String.IsNullOrEmpty(SeparatorHTML) = False Then
 If CSSSeparator <> "" Then strSeparatorClass = CSSSeparator
 strSeparator = SeparatorHTML
End If

...

If String.IsNullOrEmpty(strSeparator) = False AndAlso strType = "All" Then 'strType <> "Left" AndAlso strType <> "Right" Then
 objMenuItem.LeftHTML &= GetSeparatorMarkup(strSeparatorClass, strSeparator)
End If

So, SeperatorHTML must be specified in order for this attribute to be used.  Once the strSeparatorClass is initialized, it is only used when strSeparator is non-empty AND strType == "All".  Only then is the generated markup value appended to the results.

Pretty confusing, huh?

Brandon

Brandon,

Thanks for the indepth explaination. However, I did implement the SeparatorHTML along with CSSSeparator, but no luck. I think I need somebody to help set it on debug mode to test it.

Telerik is pretty good. I also use it for our clients. However, just want to fully understand how dnnMENU work in different context.


Cuong Dang
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom module development.
 
New Post 6/16/2008 3:21 PM
User is offline JoAnne Davidson
10 posts
10th Ranked


Re: dnnMENU question for the Skinning Team 

Hello,

I can get the separators and active separators working in the tags (not css) but what do you do for a hover? Anybody know how? Also the active separator is lost when a sub menu item of the root is selected. Is there a way around this?

Any help appreciated,

 
New Post 6/16/2008 3:29 PM
User is offline Jan Olsmar
405 posts
www.olsmar.com/
8th Ranked




Re: dnnMENU question for the Skinning Team 
Modified By Jan Olsmar  on 6/16/2008 6:30:20 PM)

I tryed a long time ago , 2006 I think , to get  attention of the problem.

I discussed in the forums (jon H), made a few posts in gemini. Some of them still there. One even telling its fixed.

But , but the documentation and the real world doesnt match.

Maybee it is fixed in 5.0 but who knows the DnnMenu are not a function that seems to bee tested so I doubt it will work as expected in 5.0 eiter.

Maybee just the documentation that is wrong who knows ... who cares..

Maybee the core team should.. I dont know...

 
New Post 6/16/2008 3:34 PM
User is offline Brandon Haynes
646 posts
everysport.net
7th Ranked


Re: dnnMENU question for the Skinning Team 

Hi Cuong,

I agree -- short of some dnnMenu guru showing up in this thread, my next step would be making debugging modifications to the provider and deploying it to a dev DNN bin directory.  A couple well-placed Response.Write's will probably yield more information than a dozen forum posts. 

Let me know if you need any assistance in getting a debugging setup started (though it sounds like you already have a pretty good handle on it).

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post 6/17/2008 5:51 AM
User is offline Jon Henning
1605 posts
www.codeendeavors.com
5th Ranked










Re: dnnMENU question for the Skinning Team 

Been a long time since I have looked at this.  Salar is correct on one thing, those properties are carry over from Solpart's implementation.  Jan is also right, in that the document was not updated to reflect what actually got implemented.  That said, if you look at the code, you will see that if those properties were implemented all that would happen would be the SeperatorHTML (left/right) included would simply get wrapped in a SPAN tag with a class defined.  I'm guessing the reason I commented out the menus ability to do this is someone suggested this was not needed as we are already specifying HTML, which could be its own tag. 

So to get the ability to specify class tags for the seperators it should be as simple as specifying your classes in your seperators.  Instead of

SeparatorLeftHTML="LEFT" CSSLeftSeparator="myleftseparator"

You code this

SeparatorLeftHTML="<span class=myleftseparator>LEFT</span>"

This gives you complete control over how it gets rendered (you aren't stuck with SPAN tags).

 


 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  dnnMENU question for the Skinning Team
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com
Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP