I'm here again for a similar problem of this my topic. Now I can not be the only show in the box group_blog_post Index. Where can I find the list of types and subtypes? I tried to write [type => group subtype => blog] and [type => blog subtype=> group] but of course is wrong. How do I find the entity type of an object?
Notify:The user in my community will have only one group for user. a user can't join in a second group. ^^
thanks for the help
P.S.
I also thank @ Team Webgalli for the suggestion that surely will use
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.
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- Gabriele Manca@Yash1986
Gabriele Manca - 0 likes
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- Gabriele Manca@Yash1986
Gabriele Manca - 0 likes
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- Gabriele Manca@Yash1986
Gabriele Manca - 0 likes
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- Gabriele Manca@Yash1986
Gabriele Manca - 0 likes
You must log in to post replies.The quick way is to look in your database - {prefix}entity_subtypes table
Don't change anything, just look.
thanks a lot matt. It's very important info. Now i have understand my solution is wrong. Don't exist a subtype group.
But the problem remains ... how can I ask elgg to show only posts from the blog to which you join?
It's not simple...for me.
If you're trying to get blogs that are in a group you want:
type => object
subtype => blog
container_guid => $group->guid
container_guid? :| I did not know.
I'm try and say you the result.
Thanks a lot for the help. ^__^
No prob - always check reference.elgg.org to find out any additional parameters for functions you're not familiar with.
So, from what is written in the reference, however if I wanted to filter by the owner of the post I simply write
type => object
subtype => blog
owner_guid => $owner-> guid o 35 [for post write only from admin] right?
correct
perfect.
Thank you so much.