There's a few errors listed in Elgg documentation that the community needs to be aware of. In order to expose this to the developers, I opt that there should be a shared page for documentation errors.
Here we go:
http://docs.elgg.org/wiki/Views/Page_structure_best_practice
Cash's comment: Thanks! This has been fixed in the wiki. Keep them coming!
----
There seems to be a bug in
http://docs.elgg.org/wiki/Engine/DataModel/Metadata
function create_metadata( $entity_guid, // The GUID of the parent entity $name, // The name of the metadata (eg 'tags') $value, // The metadata value $value_type, // Currently either 'string' or 'integer' $owner_guid, // The owner of the metadata $access_id = 0, // The access restriction $allow_multiple = false // Do we have more than one value? )
If I really create metadata with $value_type 'string' there is no type in the database. To be correct, I think this should be 'text'.
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.