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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

OnyakTech
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!
SteadyRain
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  vertical and horizontal menu
Previous Previous
 
Next Next
New Post 4/10/2008 8:13 AM
User is offline mujahed
109 posts
9th Ranked


vertical and horizontal menu 

Hi there.

i had made a custom skin and in that i gave a solpartmenu as horizontal and then after a line or so i gave solapartmenu2 as vertical. there is no problem when i am importing it. But the problem is both the horizontal and vertical are displaying the same pages or the menu items. i have noticed that. but the thing is i dont want them to be the same . so it there any way i can made them different from one another.

thank you

 
New Post 4/10/2008 9:14 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: vertical and horizontal menu 

You need to change the root level attribute. What is happening is both menus are starting at the same place which is probably root. Just change the vertical menu's root to have the display different teirs.

 

 
New Post 4/10/2008 11:00 AM
User is offline mujahed
109 posts
9th Ranked


Re: vertical and horizontal menu 

Hi there keeperofstars

Can you just giude me how to write in root menu file. As i am a newbie dont know much of coding and stuff. I am using a an xml file. it is currently looking like this.

     <Object>
        <Token>[SOLPARTMENU:1]</Token>
        <Settings>
            <Setting>
                <Name>display</Name>
                <Value>vertical</Value>
            </Setting>        
            <Setting>
                <Name>usearrows</Name>
                <Value>false</Value>
            </Setting>
            <Setting>
                <Name>userootbreadcrumbarrow</Name>
                <Value>false</Value>
            </Setting>
            <Setting>
                <Name>usesubmenubreadcrumbarrow</Name>
                <Value>true</Value>
            </Setting>
            <Setting>
                <Name>rootmenuitemcssclass</Name>
                <Value>rootmenuitem</Value>
            </Setting>    
            <Setting>
                <Name>rootmenuitemselectedcssclass</Name>
                <Value>rootmenuitemselected</Value>
            </Setting>                    
            <Setting>
                <Name>rootmenuitembreadcrumbcssclass</Name>
                <Value>rootmenuitembreadcrumb</Value>
            </Setting>
            <Setting>
                <Name>submenucssclass</Name>
                <Value>submenu</Value>
            </Setting>
            <Setting>
                <Name>submenuitemselectedcssclass</Name>
                <Value>submenuitemselected</Value>
            </Setting>
            <Setting>
                <Name>submenuitembreadcrumbcssclass</Name>
                <Value>submenuitembreadcrumb</Value>
            </Setting>
        </Settings>
    </Object>

So can you show me where are the neccessary places to do the changes. and i want all the items that are there in second tab of the horizontal menu.  Or just show me where to and how to add pages to it.

Thank you. If you could help me out here i will be really great full to u.

Thanks once again.

 
New Post 4/10/2008 11:51 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: vertical and horizontal menu 

should just be

<Setting>
   <Name>level</Name>
   <Value>child</Value>
</Setting>

That will make the 2nd menu always show just the navigation below the current navigation display. Your options for level are.

Root- shows everything
Same - Starts at the same level as the current navigation
Child - Starts 1 level / teir below the current navigation.

I hope that helps.

If you want your main horizontal to only show just the root / first level you can set

<Setting>
   <Name>rootonlyl</Name>
   <Value>true</Value>
</Setting>

That will make the top menu always show the root / base navigation useful if you trying to create a top "category" menu that then changes your side menu with the different pages under the category.

Let me know if that helps

 
New Post 4/10/2008 12:17 PM
User is offline mujahed
109 posts
9th Ranked


Re: vertical and horizontal menu 
Modified By mujahed  on 4/10/2008 2:33:16 PM)

Well i tried that adding

<Setting>
   <Name>level</Name>
   <Value>child</Value>
</Setting>

I also tried with

            <Setting>
                <Name>level</Name>
                <Value>1</Value>
            </Setting>   

 

to the vertical 

<Setting>
   <Name>rootonly</Name>
   <Value>true</Value>
</Setting>

to the horizontal

But still no luck.  i tried copiing the skin and importing again. but it still didnt help me.  Please let me know if i need to add anything more in the xml file. And please let me know if i am not doing it properly.

Or is there a place where i should add it in the XML file. please let  me know.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  vertical and horizontal menu
 


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.

 


SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com
AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/
Alki Homes - Seattle, WA
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com

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