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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...top level tabstop level tabs
Previous
 
Next
New Post
11/22/2006 4:54 PM
 
Hi

For most tabs, this code will get the peer-level tabs of the currently active tab:
Dim tabs As ArrayList = tabController.GetTabsByParentId(portalSettings.ActiveTab.ParentId)
However, for the top level tabs (parentId of -1) I do not get anything back.  Anyone know how to do this?

thanks
 
New Post
11/27/2006 3:00 PM
 
Have you wondered why no one has answered your post?  It's because you haven't given anyone the ability to help you.  Did you write this code in a VB.NET app for Excel?  I ask that stupid question because you didn't give anyone the place you have this code.  What existing code module did you add it to?  Do you have it in a custom module?  All this would really be helpful in getting answers from the community.
 
New Post
11/29/2006 11:02 AM
 
I am making a skin that contains a built in menu.  I have tried to use SolPartMenu and HouseMenu, but neither do what I want.  I need to have an all-image menu, but dynamically change the image for the active tab.  I was able to do this by creating a new page and changing the parent page of all the top-level tabs to be that new page.  Unfortunately, this solution will not work since I need to have the pages stay at the top level.

thanks in advance for any help
 
New Post
11/29/2006 5:23 PM
 
The trick I use for these kind of situations is this: (house menu)
Set house menu to display page icons
For the link in the menu set (I take 30 px as an example):
a {height:30px; overflow:hidden}
Create one image, 60 pixels high that contains the normal image on the top and the "down image" on the bottom half.
(Hope this is clear)
Then set this image as the page icon and on
a:hover {margin-top: -30px;}
It will move the image up to show the bottom half of the image
You could even create a selected state this way if you would make a 90 pixels high image.
Hope this somehow solves your problem
 
New Post
11/30/2006 11:06 AM
 
thank you!
its a hack, but it works
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...top level tabstop level tabs


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