Nico Kaiser wrote: > @Bergie: this feature works very well, the only usability glitch is that > hidden topics (for non-authenticated users) are totally invisible, > causing a 404-Error. A redirect to a login page would be much better, do > you have any idea on how to implement that?
I think there are two things here:
Now hiding topics is implemented by the MidCOM URL parser returning false instead of true if a topic shouldn't be displayed to the the user. In addition to the return value, URL parser should be able to call some method in MidCOM to tell which HTTP error code should be displayed -- now it all defaults just to 404.
Then the error page handler should be modified so that the error messages could be overridden in Midgard style. One example would be checking if the style includes an <(error-404)> element.
> Nico.
/Bergie
-- Henri Bergius [EMAIL PROTECTED] Consultant Partner Tel: +358-20-198 6032 Nemein Oy http://www.nemein.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
