Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

Switching TabNames in Solpart output with TabID

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

AuthorMessages
eclayf
Posts:19



07/01/2007 2:31 AM  
Hi John,

I have a question regarding repurposing this code in a manner you and I discussed on the DNN board about creating a new TabController to implement the StartTabId based on the tab name, not it's id in the database.

I have looked around in the code base, and not really being a programmer and very unfamiliar with .Net, I have having trouble getting my mind around this one. What I have in mind is to be able to set the tab name in the controller so that each time it encounters that tabname in the skin, it will dynamically write the tab id instead. This would make a skin portable to other sites in the portal using portal templates.

My intent is to use this to allow the implementation of Solpart with background images for the root level of each menu item independantly. It may be a bit of a kludge, but to set the menu items all using StartTabId would allow the creation of multiple menus, each with different items, each item with a different image. The rest of the submenu items would then all function as normal, but perhaps havs subimages that match the root image. All set in the CSS obviously.

So,,, is there a quick way to do this?

Clay
John Mitchell
Posts:3085



07/02/2007 5:20 PM  

Hi Clay,

I split this post out into it's own thread since it wasn't really a question about the skin switcher.

I honestly do not know how you could do what you are attempting with any code in your skin.
Trying to change the output of Solpart like that would be very difficult and you would not be able to manage the images in CSS.

I don't really recall the other thread so maybe you can refresh my memory on that.

To summarize what I think you are after, it sounds like you are wanting to create an image menu that is based on TabNames so that it can be portable across portals. It just so happens that Nina has been working on the same type of skin using my latest CSS NavMenu over at http://www.skincovered.com.  You can see an example skin at http://july.skincovered.com

Not that I shy away from a challenge, but trying to manipulate Solpart to do this is next to impossible.  That is one of the resons I created my own navigation menu.  The reason it is so hard is because Solpart produces XML which goes to the browser and then is parsed by Javascript.

One thing I have done in the past is to change the javascript in SPMenu.js to accomplish things like this, but there are all kinds of problems with doing that as you are probably aware.

 

John Mitchell
Posts:3085



08/21/2007 9:59 AM  

Hi Clay,

I just happened across that other thread while searching for a simular one today.

I think I answered what you want to do in my Skin Tokens thread:

http://www.snapsis.com/DNN-Tips-And-Tricks/tabid/560/forumid/12/postid/5003/view/topic/DotNetNuke-Tokens--Some-tricks-for-getting.aspx

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >General-DNN-Help > Switching TabNames in Solpart output with TabID



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information