You need to Register for free and Login to post a message in the forum.

Forum

Issue 47 - Drop Down
Last Post 2009-10-26 05:28 PM by Joseph Craig. 7 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
CBOSS INCUser is Offline
Nuke Pro
Nuke Pro
Posts:61

--
2009-10-21 07:55 PM
    You mention in your tutorial you did not know of a way to have the horizontal menu not display the subpages. You need to add ExpandDepth="1" to the .ascx file.
    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2009-10-22 12:05 PM
    thanks
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    CBOSS INCUser is Offline
    Nuke Pro
    Nuke Pro
    Posts:61

    --
    2009-10-22 05:54 PM
    Got 2 questions for you. For the DNN Nav, is there a way to have a different look for a subpages subpage. So I have the mainmenu root item and mainmenu submenu. I have a padding on the main menu submenu that I don't want to carry over to its subpages. How can I handle this? Also I am not able to get a background image going for either the body or wrap div. It accepts background color, but nothing with background image. I was using this body {background:#FFF url(img/bg.png) repeat-x top left; height:100%; margin:0px; padding:0px; } I also entered this same thing for the wrap div in the css.
    Joseph CraigUser is Offline
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2009-10-23 12:26 AM
    The DNN NAV Menu is quite configurable and amenable to styling.  It is possible to style the presentation of the main level of tabs differently from the sub-levels.

    There is a thread on the DotNetNuke forums that I have found helpful.  You can find it here.

    If you need more help, ask you questions here and there.  It might also help if you would attach your skin file and skin.css here.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    CBOSS INCUser is Offline
    Nuke Pro
    Nuke Pro
    Posts:61

    --
    2009-10-26 01:56 PM
    Yes I am able to style the submenu different than the main level. My question is can I style the sub menu of submenu differently?
    Also, I'm still unable to apply a background image using the styling I posted above.
    Joseph CraigUser is Offline
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2009-10-26 04:58 PM
    For help with menu styling, you should take a look at "new" version of the DotNetNuke Skinning Guide.  In particular, if you look at pages 14 and 15 you will find a discussion of the various classes that are available.  In particular, I think that you will want to take a look at the mi[x][-x] class.  mi2-0 should be the first element of the third level menu.

    For more discussion, there is a thread in the DotNetNuke forums dedicated to the NAV menu.  You will find it here.  I have found it to be quite useful from time to time.

    As for the image background, make sure that the path to the image is specified correctly.  That is the usual problem.  You CSS example should be correct if the path does correctly point to the image file.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    CBOSS INCUser is Offline
    Nuke Pro
    Nuke Pro
    Posts:61

    --
    2009-10-26 05:14 PM
    mi2-0 - this does seem like what I need, but I don't understand where to add this. In the ascx file somewhere? In the CSS as a class? Here's what I currently have the nav menu in the ascx file if it is helpful <dnn:NAV runat="server" ID="dnnNAV" ProviderName="DNNMenuNavigationProvider" IndicateChildren="False" ControlOrientation="Horizontal" CSSNodeRoot="main_menu_rootitem" CSSNodeHoverRoot="main_menu_rootitem_hover" CSSNodeSelectedRoot="main_menu_rootitem_selected" CSSBreadCrumbRoot="main_menu_rootitem_selected" CSSContainerSub="main_menu_submenu" CSSNodeHoverSub="main_menu_itemhover" CSSNodeSelectedSub="main_menu_itemselected" CSSContainerRoot="main_menu_container" CSSControl="main_menu_bar" CSSBreak="main_menu_break" alignment="center" />
    Joseph CraigUser is Offline
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2009-10-26 05:28 PM
    You would add the appropriate classes to your skin.css file.  The menu should pick them up.

    You might want to start by adding a class to change the color or add a border.  That is what I do to help figure out where styles are applied.  And, I often use Web Developer's Toolbar to help.  If you want to style the entire level, you'll want to figure out how to that.  I think that asking for help in the thread I mentioned is like a good idea.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    iPhone website logo in DNN root directory by JohnnieD
    I'm trying to put an iPhone logo that I made into my site so when someone saves the website on their
    RE: Fixed size container by Joseph Craig
    Use an HTML module and style the container to have a fixed height and width. Set the overflow attr
    Fixed size container by Aggiedan97
    I am looking for advice or an actual container that has a fixed height (and width). An HTML module w
    RE: DNN 6.1 app_offline.htm by Joseph Craig
    If the site "works" in Chrome, Firefox and Safari, but not in IE8 look to IE8 as the problem. It is
    RE: DNN site automatically redirects to a different domain name. by Joseph Craig
    Make a copy what is in the portalalias table and then remove all but the localhost entry. Verify th
    DNN 6.1 app_offline.htm by Dave Hassall
    Hi As recommended I have successfully been using the app_offline.htm whilst performing upgrades t
    RE: DNN site automatically redirects to a different domain name. by imran shaikh
    Hi i have done same as mention in this post my dnn folder name is Trademaxomanupg with
    Enforce Terms Tutorial Update by Vistalogix Corporation
    I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
    RE: Best Practices for Modifying a Custom Module by Joseph Craig
    Start up the development website, then install the module using the package that you have. Then, yo
    Best Practices for Modifying a Custom Module by schilders
    Good Morning, I'm needing to modify a custom built module created by another developer targeted f
    RE: Admin menu problem by alireza arabiyan
    hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
    RE: Admin menu problem by Joseph Craig
    Yes, that is what you should have done. What is the URL for your home page? What is the URL for
    RE: Admin menu problem by alireza arabiyan
    hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
    RE: Admin menu problem by Joseph Craig
    How did you move it? Have you added an entry in the portalalias table for the site's domain name?
    RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
    Set up a user with dbo privileges and set the connection string for that user, rather than using Win
    Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
    I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
    Admin menu problem by alireza arabiyan
    hi i installed dnn 6 on localhost and move it in my host, all link's , pages and modules are ok,
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config procedure
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config
    dnn 4.4 upgrade issue by imran shaikh
    hi this is imran i am upgrading dnn 4.4 to dnn 6.0.2 and getting this error please help me for this
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds