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  |  

PortalWebHosting
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  SolPart Menu custome provider
Previous Previous
 
Next Next
New Post 7/11/2007 8:16 PM
User is offline Dylan Barber
651 posts
7th Ranked


SolPart Menu custome provider 

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

 

 
New Post 7/12/2007 12:24 PM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: SolPart Menu custome provider 

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 4:19 PM
User is offline Dylan Barber
651 posts
7th Ranked


Re: SolPart Menu custome provider 
Modified By Dylan Barber  on 7/12/2007 7:25:52 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'

 
New Post 7/13/2007 1:38 PM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: SolPart Menu custome provider 

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 1:53 PM
User is offline Dylan Barber
651 posts
7th Ranked


Re: SolPart Menu custome provider 
Modified By Dylan Barber  on 7/13/2007 4:02:36 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

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  SolPart Menu custome provider
 


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.

 


Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting

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