Hi there,
I am new in elgg, I need to change the code of the helloworld widjet to stock the message often of time don't update database. Now when I save the message the database is updated so I lose the history.
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.
- ihayredinov@ihayredinov

ihayredinov - 0 likes
- hamzazar@hamzazar

hamzazar - 0 likes
You must log in to post replies.Read more about Elgg's data model:
I believe helloworld widget uses metadata, in which case every new update overwrites the previous one. You can use create_metadata functions with allow_multiple set as true, which case you can create a history of your updates.
Alternatively, use annotations.
Can you give me an exemple? I red about Elgg's data model but I didn't find the solution.