Loading...
 
Features / Usability

Features / Usability


More menu/module problems

posts: 32

Man, administering this software is a nightmare.

Anyway, here's what I'm trying to do:
I want one menu displayed for Anonymous users, and another displayed for everyone else.

So I created a menu just for anonymous, and that works just fine.
I then duplicated the default Admin menu, and in the Modules, I set it so the duplicated menu is displayed for everyone except Anonymous. Well, the problem is, that menu now shows up but only for the admin. For everyone else, the default menu shows up.

And before you ask, yes, I set the module visibility to all groups except anonymous.

This is so frustrating.

posts: 32

Rereading the above, I'm not sure its clear what I want.

I do not want to display the default "Application Menu". Ever.
I want anonymous users to see a custom menu. I've set this up. and it works fine.
I want all other users to see a customized version of the "Application Menu". The problem is, only the "admin" user sees it. Everyone else sees the "Application Menu".

Why isn't it working as expected?


posts: 214

I can't tell which options are giving you the problem, but here is some general observations about menus and modules.

Having modules always show up for Admins is normal, you have to resort to tricks to get modules not to display for Admins. Maybe something will be added to help with that, read this thread: http://tiki.org/tiki-view_forum_thread.php?comments_parentId=47987&topics_offset=84

And it does not sound like this is your problem, but it has tripped me up before. Multiple groups selection for menu options and modules are quite different. When you have multiple groups selected in Modules, someone who is a member of any of the groups will see the module. But when you have multiple groups on a Menu option, only someone who is a member of all the groups will see the option.

To get all members to see a module, you usually only have to assign it to the Registered group, because usually every logged in user is a member of that group.

And in Admin Home / Modules there is a "Hide anonymous-only modules from registered users" option that can be used to stop logged in members from seeing your menu for Anonymous visitors (also a "Hide anonymous-only modules from Admins" option).

Maybe more information on your settings will help to identify the problem. When you list your Custom Modules and click on the Assign (Image ) icon, and then click on the "Module Options" button, what does it show at the bottom for the "Parameters" for the module that you want your logged in members to see? And what are the Parameters for the Application menu that you do not want them to see?

Tom


posts: 32

I managed to work around the issue by using just one menu module for all but Anonymous, and that seems to work, although there's still one problem with that I can't solve.

Setting a menu option for Anonymous still shows up for Registered. Can't figure out how to have one menu option for Anonymous, and another for everyone else.

Not using Custom Modules for the menus. I'm using the "menu" module. The only parameter I used for the modules was the menu ID.


posts: 214

When you created your groups, did you select "Registered" or "Anonymous" for the option: "Inherit permissions directly from following groups"?

By default, the "Registered" group has the inheritance set to the "Anonymous" group.

That "inheritance" means that members of those groups are also members of the groups they are inheriting from. So your users may be a member of "Anonymous" group, even if they are logged in, that is how they "inherit" the permissions granted to Anonymous, by being a member of the Anonymous group.

If the menu option specifies the Anonymous group, because of the inheritance, your members may also be a member of the Anonymous group, so they will see menu option.

You can remove the "Anonymous" inheritance from the Registered group by editing the Registered group and setting the inheritance to "none".

If you remove the Anonymous group inheritance from Registered, and any other groups were set to inherit from Registered, then those groups will loose the Anonymous group too.

Tom


posts: 32

I see. I used the groups as they were initially installed by the installer, so yes, inheritance is on.

I'll have to mess with that.

Thanks.

I still think there are issues with the modules, however. But I'm not going to drive myself nuts over it since I have a workaround. Sorta.


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting