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, ...Solpart MenuItem individual css classesSolpart MenuItem individual css classes
Previous
 
Next
New Post
1/2/2007 12:14 AM
 

Hello world,

I read somewhere that you can configure your menu items in Solpart to have individual css classes (rather than 1 class for all root level items and 1 for all sub items). This is appealing to me because each root menu item must have a different background image. Can someone tell me how this can be done please? The only way so far I can see is that each menu item has a unique id but this could vary from deployment to deployment (the id being the page ID I suppose). Its difficult to reverse engineer how the menu works because it uses all custom tags like <menuitem> etc.

Any help would be great.

Thanks in advance,
Steven

 
New Post
1/2/2007 1:14 PM
 

 

If your skin type is called skintype1.html or skintype1.ascx then if you have a skintype1.css then that will take president over skin.css

Salar

 
New Post
1/2/2007 4:20 PM
 

Ok, but I think I haven't communicated my problem properly.

How can I identify each menu item individually and have a unique css class for each one?
Because these menus are dynamic and coming from the database, there's no way to identify them individually with css. I need to do this for the root level menus because each menu item must have a special image (and rollover image).

I know that you can apply an icon to the menu item, but I need more than this; I need the image to be the whole menu item (Ie no text being shown, just the image) and it needs a mouseover image as well.

I've investigated both HouseMenu and Solpart and I am beginning to believe that it just can't be done.

Steven

 
New Post
1/2/2007 10:43 PM
 

Steven you may need to look at a third party menu provider to have an image based dynamic menu - if I am reading this the same way Salar may be 

You can get a more flexible menu here - http://www.telerik.com - but at a cost.

However, if you want a little icon on the left hand side - as well as an image affect then you can achieve this with the solpart menu functions extending the active menu classes which are required in both the ascx file and the css class.  The image on the left of the menu is simply an icon put in at the page level which is displayed.  Not many people use it but it is possible.

You cannot have different colors across the whole menu but you can have different colours on the active state, hover state, sub menu state and active sub menu state using Solpart Menu.  I have a skin that although doesn't depict all these fetaures very well that has a mix of the sub menu items. http://www.ninasfreeskins.com/designaway/vertical-menu.aspx  it's from dnn 2 days and I confess it's not been updated or checked with the latest dnn 4 version but will get round to that when I have time.

If you want to have the whole menu to be completely different you will need the third party controls such as telerik or compontent art  -

I know that in the future on skincovered.com we will have some extended menus - using Armand Datema's graphical menu options, but it's not completed yet - it will allow you to create buttons on the fly - and save them, and the menu will pick it up - but you have to create the buttons as you go so while it will be dynamic, it doesn't do it automatically upon page creation, however, those looking for a something a little different will be prepared to go that extra step.

Having said all this - I would like to point out, as I've done in lots of posts, and I am pretty sure that Salar will agree, that it takes a strong person to walk away from trying to create something that really isn't dnn friendly - it's not that it can't be done, it's just that so much time can be wasted on a few lines of code and it's easy to forget the other great aspects of dnn.  And this is just a few words from someone who has spent more hours than I wish to publicly acknowledge trying to get things to do what I think they should do. 

I hope this gives you more insight to some work arounds.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Solpart MenuItem individual css classesSolpart MenuItem individual css classes


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