This topic is locked

conditional menu ASPR 6.1

11/27/2009 6:08:19 AM
ASPRunnerPro General questions
S
silk author

hello,

I need to do the same exact thing here:
http://www.asprunner...0309#entry30309
but I think it's not possible with ASPR 6.1 as I cannot edit menu block in HTML mode... any other way to do this?
thank you very much

J
Jane 11/27/2009

Hi,
unfortunately there is no easy way to show or hide menu items in the ASPRunnerPro 5.1.

You need to edit generated files for this purpose.

S
silk author 11/27/2009

is it possible to use something like
SESSION("UserRights")("<table name>") = ""
to hide the menu items?

I use STATIC permissions, this code works only with dynamic permissions
this way I could deny permission to a specific table to a user after login, so the menu item would disappear
thank you

S
silk author 11/30/2009

an other solution could be to have different menu colors, but I need to set the colors dependent from a session variable, is this possible?
in the next version of ASPR will it be possible to have a conditional menu?
thank you very much

J
Jane 11/30/2009

Unfortunately there is no easy way to show/hide menu items or change font color in the ASPRunnerPro 6.1. You need to edit generated files for this purpose.

We plan to add this feature in one of the next versions.
Also here is the list of all ASPRunnerPro session variables:

http://www.xlinesoft.com/asprunnerpro/docs/asprunner_session_variables.htm