ChildPageMenu without friendly URL

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/25/2010 11:54:12 AM
Gravatar
Total Posts 171
I am a Russian programmer

ChildPageMenu without friendly URL

Hi, Joe

There is friendly URL for page. But in ChildPageMenu links are displayed without its accounting.

And so instead of the page ~/xxxxx.aspx the user gets a page ~/Default.aspx?pageid=xxxx

Best regards, Alexander

3/25/2010 12:29:29 PM
Gravatar
Total Posts 18439

Re: ChildPageMenu without friendly URL

Hi Alexander,

I cannot produce this problem. It does not happen on this site as you can see on the documentation page which uses the ChildPageMenu.

Nor do I see this issue on my local machine.

The ChildPageMenu binds to SiteMapNodes provided by SiteMapProvider the same as other menus.

Best,

Joe

3/25/2010 1:12:40 PM
Gravatar
Total Posts 171
I am a Russian programmer

Re: ChildPageMenu without friendly URL

Hi, Joe

I see this issue on my local machine.

I will try to reproduce it on the demo site.

Best regards, Alexander

3/26/2010 11:32:17 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: ChildPageMenu without friendly URL

Hi, Joe

I found it !

It`s not bug ChildPageMenu, it`s bug PageSettings.aspx.cs with AutoSuggestFriendlyUrls="false"

With this setting field UseUrl is never equal to false. And so ChildPageMenu does not show friendly URL.

On your demo site AutoSuggestFriendlyUrls="true"

I am therefore unable to reproduce the problem, but I still found it!

Best regards, Alexander

 

3/27/2010 10:46:00 AM
Gravatar
Total Posts 18439

Re: ChildPageMenu without friendly URL

Hi Alexander,

I think you really meant that UseUrl is not true in this case. I have corrected the logic in PageSettings such that if the UseUrl checkbox is hidden, which it is by default, then if txtUrl.Length > 0 UseUrl is set to true.

Hope it helps,

Joe

3/27/2010 11:11:40 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: ChildPageMenu without friendly URL

Thank you, Joe

I saw this in SVN

Little question: Is there some kind of menu that can be used in the center of the page instead of ChildPageMenu?

Best regards, Alexander

3/27/2010 11:16:09 AM
Gravatar
Total Posts 18439

Re: ChildPageMenu without friendly URL

Hi Alexander,

You could study the code for it and produce a custom one and then replace the ChildPageMenu in layout.master with your custom one.

What is it you would like different?

Best,

Joe

3/27/2010 11:27:16 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: ChildPageMenu without friendly URL

Yes, of course. I would like to be able to use: Tree, Accordion.

I would like to use the same types of menu in the central panel, as in the left pane

Best regards, Alexander

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