Hi all,
I want to display in my custom index page not only "the newest members who have an avatar" but all.
I see :
$newest_members = elgg_get_entities_from_metadata(array('metadata_names' => 'icontime', 'types' => 'user', 'limit' => 10));
If i try for example :
$newest_members = elgg_get_entities_from_metadata(array('metadata_names' => 'user', 'types' => 'user', 'limit' => 10));
it does not work !
Thanks
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.
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- jmlb@jmlb
jmlb - 0 likes
- Stéphane C.@caillaud.s
Stéphane C. - 0 likes
- iionly@iionly
iionly - 0 likes
- Stéphane C.@caillaud.s
Stéphane C. - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Stéphane C.@caillaud.s
Stéphane C. - 0 likes
- Stéphane C.@caillaud.s
Stéphane C. - 0 likes
You must log in to post replies.It wont do that. You should have some basic ideas on elgg and its metadata system You can get it from http://docs.elgg.org. Instead of that, you can try
ok, thanks
it's good with $newest_members = elgg_list_entities(array('type' => 'user', 'limit' => 5,'full_view' => FALSE));
Could you explain what is the difference between full_view true or false ?
Thx.
You can include different views for displaying your entitities that will be used depending on full_view true or false. Not using the full_view is for example for lists while the full_view would be a detailed view of a single entity.
Ok. Have you got an simple example on an entity ?
@Stéphane Caillaud iionly explained in details.
Need more?
Read the Docs also
Thx. I find a content who is not explicit (not in the doc. I have to read the doc first instead of search an information by the google search function). Your link is better. Thx. And I don't find your examples. Thx.
Whow. I read my previous post and I realize that this is not what I meant. it is possible to delete it? Sorry for my poor english!