Commit 1e14661d authored by Sven Franck's avatar Sven Franck

data: made category overview dynamic

parent 74609087
......@@ -20,26 +20,30 @@
"type": "img",
"direct": {"src": "img/weinparis.jpg", "alt": ""}
},{
"portal_type_source": "Product",
"portal_type_title": "product",
"skip_total_records": true,
"initial_query": {"include_docs": true, "limit":[0, 5], "select_list": []},
"property_dict": {},
"scheme": [],
"portal_type_source": "Portal Category",
"portal_type_title": "category",
"initial_query": {"query": "reference: 'product_section'", "include_docs": true, "select_list": ["title", "title_i18n", "_id"]},
"property_dict": {
"link": true,
"link_identifier": "_id",
"link_core": "product_module:filter="
},
"scheme": [
{
"position": "center",
"field_list": [
{"field": "title"}
]
}
],
"children": [{
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"class_list": "foo",
"dynamic": true
"dynamic": true,
"map_children": "listItem"
},
"children": [
{"type": "a", "direct": {"href": "#", "className": "ui-btn"}, "attributes": {}, "logic": {"text": "a"}},
{"type": "a", "direct": {"href": "#", "className": "ui-btn"}, "attributes": {}, "logic": {"text": "b"}},
{"type": "a", "direct": {"href": "#", "className": "ui-btn"}, "attributes": {}, "logic": {"text": "c"}},
{"type": "a", "direct": {"href": "#", "className": "ui-btn"}, "attributes": {}, "logic": {"text": "d"}},
{"type": "a", "direct": {"href": "#", "className": "ui-btn"}, "attributes": {}, "logic": {"text": "e"}}
]
"children": []
}]
}]
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment