{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/8583","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/8583/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/8583/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/8583/events","html_url":"https://github.com/Elgg/Elgg/issues/8583","id":90980358,"number":8583,"title":"the text labels are missing from empty lists ","user":{"login":"propertunist","id":513903,"avatar_url":"https://avatars.githubusercontent.com/u/513903?v=3","gravatar_id":"","url":"https://api.github.com/users/propertunist","html_url":"https://github.com/propertunist","followers_url":"https://api.github.com/users/propertunist/followers","following_url":"https://api.github.com/users/propertunist/following{/other_user}","gists_url":"https://api.github.com/users/propertunist/gists{/gist_id}","starred_url":"https://api.github.com/users/propertunist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/propertunist/subscriptions","organizations_url":"https://api.github.com/users/propertunist/orgs","repos_url":"https://api.github.com/users/propertunist/repos","events_url":"https://api.github.com/users/propertunist/events{/privacy}","received_events_url":"https://api.github.com/users/propertunist/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-25T14:27:40Z","updated_at":"2015-06-25T15:33:36Z","closed_at":"2015-06-25T14:45:42Z","body":"in previous elgg versions there were text labels that were presented to users if lists were empty, such as media items from friends or the main river. the present version of elgg (1.11.2) has no such labels and there is just an empty space. this means that if i view friends' videos and my friends have uploaded no videos, i just see an empty box - which for new users can be confusing.\r\n\r\nideally, there would be customisable text strings for all lists, so that all lists in each context can present a custom string of text when the list is empty. e.g. 'you don't have any friends here yet..' or 'your friends haven't added any items to the community yet..' etc."},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/115294919","html_url":"https://github.com/Elgg/Elgg/issues/8583#issuecomment-115294919","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/8583","id":115294919,"user":{"login":"propertunist","id":513903,"avatar_url":"https://avatars.githubusercontent.com/u/513903?v=3","gravatar_id":"","url":"https://api.github.com/users/propertunist","html_url":"https://github.com/propertunist","followers_url":"https://api.github.com/users/propertunist/followers","following_url":"https://api.github.com/users/propertunist/following{/other_user}","gists_url":"https://api.github.com/users/propertunist/gists{/gist_id}","starred_url":"https://api.github.com/users/propertunist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/propertunist/subscriptions","organizations_url":"https://api.github.com/users/propertunist/orgs","repos_url":"https://api.github.com/users/propertunist/repos","events_url":"https://api.github.com/users/propertunist/events{/privacy}","received_events_url":"https://api.github.com/users/propertunist/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T15:33:36Z","updated_at":"2015-06-25T15:33:36Z","body":"i just added the plugin hook handler and it looks fine, except that the string is not outputted under the list. the string does get picked up by hypeLists in the container data fields.\r\n```\r\nelgg_register_plugin_hook_handler('view_vars', 'page/components/list', 'sorted_empty_list_hook');\r\n```\r\n```\r\nfunction sorted_empty_list_hook($hook, $type, $return_value, $params)\r\n{   \r\n    if ($return_value['no_results'] == '')\r\n    {\r\n        $return_value['no_results'] = elgg_echo('sorted:no_results');\r\n    }\r\n    return $return_value;\r\n}\r\n```\r\nis there anything missing from my code?"}}