'ECML', 'ecml:help' => 'ECML Help', // views 'ecml:views:annotation_generic_comment' => 'Comments', // keywords 'ecml:keywords:desc:entity' => 'Displays a list of any Elgg entity.', 'ecml:keywords:usage:entity' => '[[entity]] supports all options in elgg_get_entities()', 'ecml:keywords:desc:view' => 'Displays any Elgg view.', 'ecml:keywords:usage:view' => '[[view src="valid/view" arg1=value1 arg2=value2]]', 'ecml:keywords:desc:googlemaps' => 'Embed a Google Map.', 'ecml:keywords:usage:entity' => '[[googlemaps src="URL"]] Use the link code from Google Maps as the src.', 'ecml:keywords:desc:slideshare' => 'Embed a Slideshare slide.', 'ecml:keywords:usage:entity' => '[[slideshare id="slideshare_id"]] Use the Wordpress.com embed code, but make sure there are two [s and ]s surrounding it!', 'ecml:keywords:desc:vimeo' => 'Embed a Vimeo video.', 'ecml:keywords:usage:videmo' => '[[videmo src="URL"]] Use a standard Vimeo URL as the source.', 'ecml:keywords:desc:youtube' => 'Embed a YouTube video.', 'ecml:keywords:usage:entity' => '[[youtube src="URL"]] Use a standard YouTube URL as the source.', // keyword help 'ecml:keywords_title' => 'Keywords', 'ecml:keywords_instructions' => 'Keywords are replaced with content when viewed. They must be surrounded by two square brackets ([[ and ]]). You can build your own or use the ones listed below. Hover over a keyword to read its description.', 'ecml:keywords_instructions_more' => '
You can build your own keywords for views and entities.
[[entity: type=type, subtype=subtype, owner=username, limit=number]]
EX: To show 5 blog posts by admin:
[[entity: type=object, subtype=blog, owner=admin, limit=5]]
You can also specify a valid Elgg view:
[[view: elgg_view, name=value]]
Ex: To show a text input with a default value:
[[view: input/text, value=This is a default value]]