Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPISolPart Menu custome providerSolPart Menu custome provider
Previous
 
Next
New Post
7/11/2007 10:16 PM
 

Jon I was wondering if you could comment on this question - i put it in the 'Extend!' forum and think it may need to go here -

http://www.dotnetnuke.com/Community/Forums/tabid/795/mid/2108/threadid/151550/scope/posts/Default.aspx#151572

I am wondering is there a way to not mess with the core and have a menu like solpart that can query other aspects of the environment to show/not show tabs

 


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
7/12/2007 2:24 PM
 

I think your easiest way to implement this would be to create your own navigation provider.  You can get some info on it here.  Basically, I'd just copy the solpartmenunavigationprovider to a new class and implement your custom logic inside it.

 


 
New Post
7/12/2007 6:19 PM
 

On page 23 of the document you posted a link to it has info about the custom datasource is that what you mean?

I  tried what you suggest - building a new  provider bassed on the solpart one but it didnt seem to work - i dont think i am 'installing' it right in the web.config - or using it in the site - 'something'


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
7/13/2007 3:38 PM
 

Could you be a little more specific on did not work?

Did you add the new entry to the web.config?  

Did you specify a ProviderName="YourProviderName" in your skin?

Are you getting an error?


 
New Post
7/13/2007 3:53 PM
 

Sorry added the provider to the web.config but was not sure how it gets loded to the menu

could you show me an example of using it in the skin?

 

I get an error that value can not be null - not even sure what that really means

 

Here is what i did - I copied the solpart menu navigation provider nto a new project and linked up the dotnetnuke dll to it

then in the bind i put a simple test to see if this logic would work

For Each objNode In objNodes

                           If CheckNode(CType(objNode.ID, Integer)) = True Then

;;;;;;;Continue normal processing etc

 

Check node is a simple function that will check for a node of a certain known id and hide it if it come through


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPISolPart Menu custome providerSolPart Menu custome provider


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