Not showing help links if not vailable

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
1/31/2007 7:14:01 AM
Gravatar
Total Posts 488

Not showing help links if not vailable

There are many "help" links on the web site, but most of them lead to "help not available" message.

I need to disable all the help links (in non-admin mode) that lead to "help not available" message.

I understand that checking the existance of the help files when rendering the page will cause some productivity losses. I suggest 2 solutions:
1. Load and cache (in a hashtable) the list of the help files on application start.
2. Make this check optional (add an option to Web.config).
1/31/2007 7:32:38 AM
Gravatar
Total Posts 18439

Re: Not showing help links if not vailable

A better solution is to populate the help system. Maybe someday soon I will spend a day doing that rather than code for missing help and add performance hits by checking for existence.

Joe
2/5/2007 11:54:35 AM
Gravatar
Total Posts 488

Re: Not showing help links if not vailable

It would be nice to populate the help system, but it's not the solution for this problem. When implementing site in a non-english locale it's needed to hide those links that do not have help in the needed locale.
2/6/2007 3:25:09 PM
Gravatar
Total Posts 18439

Re: Not showing help links if not vailable

When I populate the help system, it will fallback to english if there is no content for the user's locale. The help system will need to be translated just like any other resource in the site to use it effectively.

I added an option if you want to globally disable the help system, you can do so by setting DisableHelpSystem to true in web.config.

I'm not going to complicate things with a lot of checks for content in files.

Hope that solution is good enough.

Thanks,

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