I set the active item “Articles” to “Visible for member” only
in Builders, Navigation Menu Builder.
But, if I browse to mysite.com/articles I can read them
How can I allow only members to view the articles?
I set the active item “Articles” to “Visible for member” only
in Builders, Navigation Menu Builder.
But, if I browse to mysite.com/articles I can read them
How can I allow only members to view the articles? |
Im assuming you are using a Dolphin 6.1.x version. If so: In Admin Panel, click Builders > Navigation Menu Builder Located the blue block labeled "Articles" and click it. Remove the checkmark from Guest where is says Visible for: That should remove it from the navigation menu UNLESS the member is logged in. Nothing to see here |
Oh yeah, and if for some reason a guest knows to type in www.yoursite.com/Articles (not always the case), you can block the page totally from guests by adding the following code to your articles.php page: Find this (not very far down): $_page['header'] = _t( "_ARTICLES_H", $site['title'] ); Add this Under it: if ( !( $logged['admin'] = member_auth( 1, false ) ) ) You can actually do that to ANY php page to keep people who are not logged in from viewing it. Give that a shot and let me know if that works. Nothing to see here |
It works fine.
Thank's |