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

Forum

Subject: MainMenu_MenuContainer class
Prev Next
You are not authorized to post a reply.

Author Messages
mfnc
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:2

31 Mar 2008 3:53 PM  

I am following the skinning Video #7 (How_to_create_a_skin_video7.swf) and have been successful up until the point where it talks about changing the css class .MainMenu_MenuContainer. I am using DNN 04.08.02 and the class in the DNN_Blue skin is named .main_dnnmenu_container. Making the changes to this class do not reflect the changes on the site. Nor does it have an effect if I change the class name to .MainMenu_MenuContainer

I'm fairly new to DNN and I'm sure there is something very obvious I'm missing

Any help would be appreciated.

Thanks

jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2318


31 Mar 2008 8:26 PM  
That tutorial is a couple of years old, so I'm sure that some of the details are just a bit out of date.  So, let's take a look at the skin to see what is there ...

Looking at the Horizontal Menu - Full Width skin, I see this ...


< TD width="100%" vAlign="middle" align="left" nowrap >

< dnn:NAV runat="server"
                  id="dnnNAV"
                  ProviderName="DNNMenuNavigationProvider"
                  CSSControl="main_dnnmenu_bar"
                  CSSContainerRoot="main_dnnmenu_container"
                  CSSNode="main_dnnmenu_item"
                  CSSNodeRoot="main_dnnmenu_rootitem"
                  CSSIcon="main_dnnmenu_icon"
                  CSSContainerSub="main_dnnmenu_submenu"
                  CSSBreak="main_dnnmenu_break"
                  CSSNodeHover="main_dnnmenu_itemhover"
                  NodeLeftHTMLBreadCrumbRoot=""*"                                                                          BORDER="0"                  
                                                                         src="breadcrumb.gif"/ >"
 / >
< /TD>


Now, without knowing too much, it appears that most of the "CSS" named items refer to CSS classes that style different parts of the menu.

Coupling that with Troubleshooting DotNetNuke Skins, the tutorial that shows you how to user the Web Developer's Toolbar, you can easily create a page with the Blue skin and track down the various styles.  For example, main_dnnmenu_bar has a background color that will color the menu bar.  Others style the text, etc.

I'm still looking for some documentation ...




Joe Craig
DNN Creative Support
Subscribe to the website
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3325

07 Apr 2008 2:33 AM  
Hello,

Yes documentation is short on the new NAV menu that is included with the latest releases of DotNetNuke. - I will be addressing this issue however and covering some details to help you style this menu.

- However the SolPart menu that we style in the tutorial is still included with DotNetNuke, so if you look at the code that is included with the video tutorials, you can copy the code from the skin.xml and skin.css files to setup the Solpart menu.

Thanks,


Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
mfnc
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:2

07 Apr 2008 2:38 PM  

ok, thanks Lee. I'll take that route for now. Also, is it possible to change the arrow image next to each of the menu items?

Thanks

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3325

08 Apr 2008 2:58 AM  
If you look at the skinning pdf that comes with the DotNetNuke docs zip file there is a section at the end which details:

useskinpatharrowimages


Use arrow images located in
the skin and not those in the
/images folder {true|false}

- default is false - so you could set these properties in the skin.xml file

- or if you look in the images folder in your DotNetNuke installation files, have a look for images beginning with menu_




Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > MainMenu_MenuContainer class



ActiveForums 3.7

Latest Forum Posts

RE: Reversing Limited Access to the Admin Menu by wynnjon
OK-So I've updated the TABS table entries in the database and set the previously modified entries (t...
RE: localhost Install issues by leesykes
If you go to the subscribe page and click on the get free trial button - this takes you to a page wh...
localhost Install issues by cdees
I've set up a local host and want to run DNN for a local development machine.  The host is set up; h...
RE: Reversing Limited Access to the Admin Menu by wynnjon
That is what I thought.  So for my clients that will need to manage user accounts, I can not limit t...
RE: Reversing Limited Access to the Admin Menu by leesykes
I seem to recall it doesn't work
RE: Reversing Limited Access to the Admin Menu by wynnjon
Thanks Lee-  I will give that a try.An additional question- If you place the "User Accounts" page un...
RE: Reversing Limited Access to the Admin Menu by leesykes
all you need to do is reverse the process within the SQL tables.Compare the data to the other rows i...
RE: Module not working when logged off. by leesykes
thanks for the info,
Reversing Limited Access to the Admin Menu by wynnjon
Hi!  I followed the tutorial for limiting the access to the admin menu.  What a great thing!However,...
RE: Trouble installing! Designer trying to be a Developer. by leesykes
glad to hear you found a solution, thanks,
RE: Skim Question by leesykes
You could but you will not be able to have an XHTML compliant page as the SolpartMenu is non-complia...
RE: Include in Menu - Weird Request by leesykes
For your sitemap.xml file - use GSiteCrawlerYou could create the site map before moving the sub menu...
RE: Trouble installing! Designer trying to be a Developer. by awright14
It looks like I had ASP installed in the wrong order.  Copying and pasting this into the Run Command...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
Hello,Have you tried adding a class to the content area of your container and then styling the p, a,...
RE: Vertical SolpartMenu by leesykes
hello,If you wish to display the admin and host menus within the house menu, you need to enable it i...
RE: Firefox Does Not Display WMV File In Media Module by leesykes
Hello,I have just tested this and I can play a wmv file in Firefox 3.0.3, so it does suggest that it...
RE: advice wanted convert site to DNN while keeping existing asp functionality by leesykes
You could try using the IFrame module in DotNetNuke and then just link the IFrame to the current pag...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
Thanks for the quick update... I know it looks broken right now, but I had the TITLE classes working...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
The default class for a container is .head so you will find that the .head class will override any s...
RE: Module not working when logged off. by t.ramya85
have to set the cache time to '0' in that module setting.
DotNetNuke Modules
RSS Feeds