Serious error on fast computers

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.
12/27/2009 9:36:57 AM
Gravatar
Total Posts 18439

Re: Serious error on fast computers

Hi,

I did not receive the resource files, please send them again.

I don't agree about the child page menu change to check against includeinsitemap, it really is a menu. IncludeInSiteMap is meant only for the actual sitemap page.

I will make it possible to show the image but you will need to add this to user.config as it will be disabled by default:

<add key="UsePageImagesInSiteMap" value="true" />

it will also affect the real SiteMap.aspx page.

I have made your other changes in my copy.

Best,

Joe

12/27/2009 10:01:45 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

Thanks, Joe

but about ChildPageMenu

Can you add field [IncludeInChildPageMenu] bit NULL in TABLE mp_Pages

and than change

ChildPageMenu.ascx.cs

if (!mapNode.IncludeInMenu) remove = true;

to

if ((!mapNode.IncludeInMenu) && (!mapNode.IncludeInChildPageMenu)) remove = true;

12/27/2009 10:03:37 AM
Gravatar
Total Posts 18439

Re: Serious error on fast computers

No, sorry, I do not see a need for that.

Best,

Joe

12/27/2009 10:08:57 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

Why show the submenu at the same time in the menu and the ChildPageMenu?

It looks not very nice

Alexander

12/27/2009 10:14:52 AM
Gravatar
Total Posts 18439

Re: Serious error on fast computers

Then don't show the child page index. Whether it looks nice is a different issue than whether we need more options for hiding things.

I have pages like that such as Installation documentation page, it does not make sense to hide just some pages from the child page index if they are showing in the menu, it does not solve the issue of whether it looks nice to have the menu duplicated if I remove a few pages I might as well not show the child page index at all if I think it doesn't help.

Best,

Joe

12/27/2009 10:15:17 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

Idea!

add to user.config

<add key="xxxxxxxxx" value="true" />

and than in

ChildPageMenu.ascx.cs

if xxxxxxxxx == true
  if (!mapNode.IncludeInMenu) remove = true;
 

12/27/2009 10:21:45 AM
Gravatar
Total Posts 18439

Re: Serious error on fast computers

Ok, I'll change it like this:

if (treatChildPageIndexAsSiteMap)
{
if (!mapNode.IncludeInSiteMap) { remove = true; }
}
else
{
if (!mapNode.IncludeInMenu) { remove = true; }
}

and you can enable it by adding this to your user.config:

<add key="TreatChildPageIndexAsSiteMap" value="true" />

Best,

Joe

12/27/2009 10:37:50 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

Joe, Thank you very much!

This is the best version

Best regards, Alexander

12/27/2009 10:39:31 AM
Gravatar
Total Posts 18439

Re: Serious error on fast computers

Glad that will work for you.

Don't forget to send the Russian resources again, I did not receive it.

Best,

Joe

12/27/2009 11:28:53 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

I sent the file

Joe, check your mail

Best regards, Alexander

12/27/2009 11:34:56 AM
Gravatar
Total Posts 18439

Re: Serious error on fast computers

Thanks! Got it this time.

I will have this in svn trunk by tonight sometime.

Best,

Joe

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