the comment of the function says:
* The output of any view can be prepended or appended to any other view.
*
* The default action is to append a view. If the priority is less than 500,
* the output of the extended view will be appended to the original view.
I don't quiet understand: Is it means:
priority>=500 : appended ?
priority<500 : prepended ?
i also want to find more info on this page : http://docs.elgg.org/Views/Extend
but there is no more explaination.
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.
- ElggCloud@g2w!
ElggCloud - 0 likes
You must log in to post replies.When you extend a view and you want to add your content above or after this view, you can do that by calling elgg_extend_view() with a third parameter which sets its priority.