Itemlist

Below is an example configuration of a panel using the Itemlist module:

{
    "width": 12,
    "full_row": True,
    "url_name": "panel_listgroup_tables",
    "content": {
        "view": module_views.ListGroup,
        "view_params": {
            "url_open_new_tab": False,
            "context_items": context_items,
        },
    },
}
        

We will define the context_items in url_variables.py like this:

context_items = []
for context_item in [...]:    
    .....
    context_items.append(
        {
            "title":
            "listgroups":
        }
    )

Last updated