module(..., package.seeall)
NODE = {
title = "@Collection",
actions = [[
show = "collections.show"
rss = "collections.rss"
xml = "collections.list_children_as_xml"
new_child = "collections.edit_new_child"
]],
}
NODE.fields = [=[
child_proto = {1.1, proto="fallback"}
--content_template = {1.2, proto="fallback"}
xml_template = {1.3, proto="fallback"}
child_uid_format = {1.4, proto="fallback"}
]=]
NODE.edit_ui = [=[
title = {0.80, "text_field"}
]=]
NODE.admin_edit_ui = [=[
collection_section = {1.401, "div_start", id="collection_section"}
child_proto = {1.401, "text_field"}
--content_template = {1.402, "textarea"}
xml_template = {1.403, "textarea"}
child_uid_format = {1.404, "text_field"}
collection_section_end = {1.405, "div_end"}
]=]
NODE.html_content = [=[
$markup{$content}
Create new item.
id | title |
---|---|
$id | $title |