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  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  house Menu: How to get started
Previous Previous
 
Next Next
New Post 3/26/2008 8:25 AM
User is offline felixhelix
51 posts
10th Ranked


Re: house Menu: How to get started 

@keeperofstars: 
Thanks a lot for your help,
I copied one of the provided CSS files in my skin directory ... I copied one of the provided CSS files in all directories with the slightest Chance DNN might look for CSS Files here ...
nothing changes :-(
So the code for the skin object looks like

 

<dnn:HOUSEMENU id="HOUSEMENU" runat="server" ShowHome="True" Scope="-1" Mode="D" Orientation="H" ShowAdmin="True" IsRecursive="False" ShowSearchResults="False" CssElementId="Skyward" StyleName="Skyward" ></dnn:HOUSEMENU>

And the skyward.css is in the skin directory, in /portals/_default and in /Portals/0.

To say something positive: I tried the module version, and it worked fine immediatly :-)
Still I would like to get the skin object working. Any ideas?

your's
felix

 
New Post 3/26/2008 11:38 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: house Menu: How to get started 

ok, here is the line from my skin

<dnn:HOUSEMENU runat="server" id="dnnHOUSEMENU" Scope="-1" ShowAdmin="False" ShowHome="False" IsRecursive="False" Orientation="H" Mode="S" CssElementId="HouseMenuNav" /></div>

And here is the styling inside my skin.css. I think the piece your missing is CssElementId is not the name of the CSS file its the name of the object/class/selector in any CSS file associated with the skin.

Here is the CSS in my skin.css which controls the formating of my HouseMenu

/* ===========================================
Horizontal Menu
==============================================*/
#HouseMenuNav
{
    /*menu wrapper div */
    margin-left: 40px;
    font: bold 120% Arial, Tahoma, Verdana sans-serif;
    padding: 0 0 20px 0;
}
#HouseMenuNav ul
{
    border: 0;
    margin: 0;
    list-style: none;
    float: left;
/*Background-color can be added here */
   
}
#HouseMenuNav li
{
    float:left;
    list-style: none;
    padding: 0 0 0 0;
    background-image: url(buttons/MaroonWhiteGrdnt_default.gif);
    background-repeat: repeat-x;
    background-color: #990000;   
}
#HouseMenuNav li a:link, #HouseMenuNav li a:visited
{
    display: block;
    color: #FFF;
    text-decoration: none;
    padding: 0 5px 0 5px;
    border-right: 1px solid #990000;
}

#HouseMenuNav li a:hover
{
    background-image: url(buttons/MaroonWhiteGrdnt_hover.gif);
    background-repeat: repeat-x;
    background-color: #990000;
    color: #FFF;
}
#HouseMenuNavCurrentLink
{
    background-image: url(buttons/MaroonWhiteGrdnt_selected.gif);
    background-repeat: repeat-x;
    background-color: #e57b7b;
    cursor: default;
}
   

As you can see my skin.css is where it pulls from that then has a Selector #HouseMenuNav  which is what I have in my CssElementId.

Incase your  curious #HouseMenuNavCurrentLink is special Selector which controls the display of the selected tabs menu object. Note it doesn't format Home tab, though you have to use #HouseMenuNavItemHome. But lets first get your menu working then we will have some extra fun. :)

 
New Post 3/28/2008 2:43 AM
User is offline felixhelix
51 posts
10th Ranked


Re: house Menu: How to get started 

Thanks a lot - I've got it at last! 
You were right: I confused the CssElementId with the file for the style-sheet which can be embedded with StyleName. The file you embed this way however resides in the ~\DesktopModules\HouseMenuSkinObject\styles folder. But you can ommit this and place the HouseMenu Styles in the Skin.css, as you did it.

Now, what about the extra fun? :-)

sincerely,
felix

 
New Post 3/28/2008 5:48 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: house Menu: How to get started 

You can link house menus together a commonly asked question by creating multiple instances of the menu and setting the scope to match a the tab Id of the previous menu you want tied to it. For example I have a main menu across the top of my page which has 6 main categories. On the left side of my page I display the child pages of the main category when the user selects a category it changes the left menu to only display the child parents. All you do is visit the page id of the main category and grab the tab id from the url. From there you just set the scope of the categories skin to be the tab id. Then set all the child pages to share the same skin as the main category.

You will find Housemenu is a bit "limiting" at first but its so flexible that you can really build any menu system you want with it, just have to think outside the box. Heck one site I have has 6 HouseMenus on it 4 of them tied together and with faster servers my users thinks they are clicking on special page controls when really its just swaping skins around to display different modules etc. I wish I could show you but its a private companies site. If you ever want to do something and hit a road block on how to do it just let me know.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  house Menu: How to get started
 


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.

 


Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com
Code Endeavors, LLC
Do you Endeavor to Enhance your DotNetNuke designs by utilizing AJAX technologies to more efficient interactive web experiences
www.codeendeavors.com
T-WORX, INC.
Professional DotNetNuke Solutions
www.t-worx.com

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