most listing pages in Elgg support the URL parameters 'limit' and 'offset', so if you make it https://{mydomain}/groups/activity/917?limit=500 it should work
You can do it in your custom plugin.
In the link I mentioned, I meant that you should customize both the form and action.
Look at these examples: 1, 2, 3, 4, 5, 6
It's just a very long tutorial to do in one reply.
Try to learn the documentation and texamples provided, and then we'll help you if something goes wrong.
Tip: deploy your code on GitHub/Gitlab so that developers can see your entire project.
Thanks a lot for your tips. I'm currently learning with the "My_Blog" tutorial (which is easy to follow) and read your examples and have a better understanding of how things are connected. I will have to test around a lot to see what I will be capable of doing. I won't post updates about this here for now, as it's just a lot of trial and error. Should my project be almost working, I will add the code to GitHub. For now it's too far away.
Today I went a step back and instead of adding a new field, I played around with existing fields. As an example, I learned about the differences between text or longtext and how to change the CKEditor to the simple version. This all worked fine. Then I wanted to make the "excerpt" of a "blog" (from the original "blog" plugin) to also be shown in the "full view". I found this code (views/default/object/blog.php):
if (elgg_extract('full_view', $vars)) {
$body = elgg_view('output/longtext', [
'value' => $entity->description
'class' => 'blog-post',
]);
$params = [
'icon' => true,
'show_summary' => true,
'show_navigation' => true,
];
$params = $params + $vars;
echo elgg_view('object/elements/full', $params);
} else {
// brief view
$params = [
'content' => $entity->getExcerpt(),
'icon' => true,
];
$params = $params + $vars;
echo elgg_view('object/elements/summary', $params);
The "if" part defines what to show in the "full view" of the blog, the "else" part what to show in the "brief view" of e.g. the "all" list. My thought was to add the "excerpt" as a parameter or value to the "full view", so that it would also show on the blog page itself. Is this the right approach or is it more complicated than that?
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.