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...Skins, Themes, ...Skins, Themes, ...house Menu: How to get startedhouse Menu: How to get started
Previous
 
Next
New Post
3/26/2008 11:25 AM
 

@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 2:38 PM
 

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 5:43 AM
 

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 8:48 AM
 

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
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...house Menu: How to get startedhouse Menu: How to get started


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