How to modify the menu?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
1/30/2009 2:37:34 AM
Gravatar
Total Posts 4

How to modify the menu?

Hi Joe!

I've gone through some skins now, and I don't have a clue how to change the appearance of the menus.

Is it possible to use 3rd party menus (like devexpress) I've seen some old posts referring to YUI and skm?? Any hints on that??

Thanks in advance, Lars

1/30/2009 2:51:19 AM
Gravatar
Total Posts 4

Re: How to modify the menu?

More specific, I would like to have a possibility to add separators in the submenus, background (light) images in it too...

Also, I have the new MS URL rewrite module installed, and I like the urls without the ending .aspx.... Do you have any plans on implementing it in mp? So, that when a page is added, the underlying rewrite rule is added automatically?

Thanks, Lars

1/30/2009 12:53:46 PM
Gravatar
Total Posts 18439

Re: How to modify the menu?

The mojoPortal SiteMenu and PageMenu controls (which are really almost identical but evolved separately) wrap around the ASP.NET TreeView and Menu controls and use the CSSAdapters to make those controls produce better markup. Styling the included menu is a matter of having good CSS/Xhtml skills. View the source of the page study the markup and what classes are there and write style rules. Plenty of examples in included skins, see stylemenu.css and styletreeview.css in various skins.

If you want to use something else like a third party menu one you'll have to write your own wrapper control similar to SiteMenu/PageMenu and use the third party control internally.

We already have an url re-writer and friendly urls are already created automatically when a page is created.

I don't know anything about MS Url re-write module and have no plans to use it. My solution  works on IIS and on apache/linux/mono so I'm not having any IIS module dependency.

Hope it helps,

Joe

1/31/2009 7:46:36 AM
Gravatar
Total Posts 4

Re: How to modify the menu?

Hi Joe,

I definitely and absolutely do realise such a question is completely and utterly foolish - if the question itself is not, to expect a reasonable answer is... :-)

I've been digging through your source code and projects - behind Visual Studio searching with PowerGrep - back and forth... Just to become aware how much work has been put into mojoPortal: incredible! For me a reason to study hard on your code.

Thanks for your quick response!

Lars

You must sign in to post in the forums. This thread is closed to new posts.