New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elgg_get_excerpt() fails on some viewtypes #10114

Closed
mrclay opened this Issue Aug 24, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@mrclay
Member

mrclay commented Aug 24, 2016

@mrclay mrclay added this to the Elgg 2.x milestone Aug 24, 2016

@jdalsem

This comment has been minimized.

Show comment
Hide comment
@jdalsem

jdalsem Aug 25, 2016

Member

this problem is more generic i think... as any function that uses a view for output does not function... like elgg_view_friendly_time or elgg_view_entity_list... as long as there is no fallback

Member

jdalsem commented Aug 25, 2016

this problem is more generic i think... as any function that uses a view for output does not function... like elgg_view_friendly_time or elgg_view_entity_list... as long as there is no fallback

@mrclay

This comment has been minimized.

Show comment
Hide comment
@mrclay

mrclay Aug 25, 2016

Member

Also it's probably best to temporarily set the global viewtype within those functions, in case the views use subviews.

Member

mrclay commented Aug 25, 2016

Also it's probably best to temporarily set the global viewtype within those functions, in case the views use subviews.

@mrclay

This comment has been minimized.

Show comment
Hide comment
@mrclay
Member

mrclay commented Aug 27, 2016

See #10127

@mrclay mrclay closed this in 5a58317 Sep 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment