overview.php page fpr guests
overview.php page fpr guests
I would like guests to not be able to see announcements, events, etc. and the side menu modules. I only want members to have access to theses items.
I figured out how to setup a guest page, but unable to remove the side menu modules for just the guest page.
This is the page I setup for guests: https://sedaliakennelclub.org/admidio/a ... rview1.php
Members page has all the plug ins available.
Just cannot figure out how to remove the side menu modules for guests.
Any help would be appreciated.
Thanks,
Ken
I figured out how to setup a guest page, but unable to remove the side menu modules for just the guest page.
This is the page I setup for guests: https://sedaliakennelclub.org/admidio/a ... rview1.php
Members page has all the plug ins available.
Just cannot figure out how to remove the side menu modules for guests.
Any help would be appreciated.
Thanks,
Ken
Re: overview.php page fpr guests
I figured it out...no worries..
Re: overview.php page fpr guests
I would like to achieve the same, can you kindly post the solution you have found ?
Re: overview.php page fpr guests
Within the Smarty template system you have the parameter validLogin . This is set to false for guests and true if a valid login exists.
Does this help you to solve your problem?
Does this help you to solve your problem?
Re: overview.php page fpr guests
I know this thread is old, but I have the same issue. In which folder and file(s) is the validLogin variable?
Re: overview.php page fpr guests
Within the template files at adm_themes/simple/template there you can use it. But if you only want to hide menu entries of plugins you can do this in the menu module. Just open a entry there and set a specific role for visibility.
Re: overview.php page fpr guests
Thank you for your reply, Fasse. This is such a good app. Well done!
I would prefer the latter part of what you said; "...But if you only want to hide menu entries.."
So for example, when the public goes to the homepage, i.e. before validLogin, then they see the menu titled 'Administration' and under that of course the menu entries, for example; Events, Messages, etc.
I want to hide 'Events' from the public menu, but once the user is validLogin, then show them the Events menu entry.
I know I can Add a new entry, where I can then set the visibility to member, or Manager, or Administrator, etc.
(adm_program/modules/menu/menu.php)
^^ but the 'set visibility' option is not available when I edit the Events menu for example.
I'm guessing the workaround is to create a new menu entry, to the url for Events, and set it's visibility as I want, then disable the admidio system Events menu. << hoping you know what I mean there.. (*disable the Events module through adm_program/modules/preferences/preferences.php#panel_)
Am I missing something?
Please let me know when you can.
Thank you.
I would prefer the latter part of what you said; "...But if you only want to hide menu entries.."
So for example, when the public goes to the homepage, i.e. before validLogin, then they see the menu titled 'Administration' and under that of course the menu entries, for example; Events, Messages, etc.
I want to hide 'Events' from the public menu, but once the user is validLogin, then show them the Events menu entry.
I know I can Add a new entry, where I can then set the visibility to member, or Manager, or Administrator, etc.
(adm_program/modules/menu/menu.php)
^^ but the 'set visibility' option is not available when I edit the Events menu for example.
I'm guessing the workaround is to create a new menu entry, to the url for Events, and set it's visibility as I want, then disable the admidio system Events menu. << hoping you know what I mean there.. (*disable the Events module through adm_program/modules/preferences/preferences.php#panel_)
Am I missing something?
Please let me know when you can.
Thank you.
Re: overview.php page fpr guests
The general view for our default modules can be handled within the preferences. There is a preference "access to the module".
For the event and announcements module you can handle a more granular rights management through the categories/calendars. There you can add the role members to the visibility than only those members will see events / announcements of that category.
For the event and announcements module you can handle a more granular rights management through the categories/calendars. There you can add the role members to the visibility than only those members will see events / announcements of that category.
RESOLVED Re: overview.php page fpr guests
My bad. I got it now. Thank you very much.