I want there to be content only an admin can see but I want the page to be public. How can this be done?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Trajan@Trajan
Trajan - 0 likes
You must log in to post replies.if(elgg_is_admin_logged_in ()){
// do something for admins
}
it's time to visit http://reference.elgg.org and use the search box in top right of page. It's ajax-powered so type in something like elgg_ and wait for things to appear. Now you can find all functions available with elgg core.