Name
Forum

Description
Discussion forum

Pack
{
  "pages": [
    {
      "name": "homepage",
      "title": "",
      "layout": {
        "widths": [
          2,
          10
        ],
        "besides": [
          {
            "above": [
              null,
              {
                "type": "container",
                "block": true,
                "bgType": "None",
                "hAlign": "left",
                "margin": [
                  0,
                  0,
                  0,
                  0
                ],
                "vAlign": "top",
                "bgColor": "#ffffff",
                "padding": [
                  0,
                  0,
                  0,
                  0
                ],
                "bgFileId": 0,
                "contents": {
                  "above": [
                    {
                      "type": "container",
                      "block": true,
                      "bgType": "None",
                      "hAlign": "left",
                      "margin": [
                        0,
                        0,
                        0,
                        0
                      ],
                      "vAlign": "top",
                      "bgColor": "#ffffff",
                      "padding": [
                        0,
                        0,
                        0,
                        0
                      ],
                      "bgFileId": 0,
                      "contents": {
                        "above": [
                          {
                            "url": "/view/NewThread",
                            "text": "New Discussion",
                            "type": "link",
                            "block": false,
                            "link_src": "View",
                            "nofollow": false,
                            "isFormula": {
                              "url": false
                            },
                            "link_icon": "",
                            "link_size": "btn-block",
                            "textStyle": "",
                            "link_style": "btn btn-danger",
                            "target_blank": false
                          },
                          {
                            "type": "line_break"
                          }
                        ]
                      },
                      "imageSize": "contain",
                      "isFormula": {},
                      "minHeight": 0,
                      "textColor": "#ffffff",
                      "widthUnit": "px",
                      "heightUnit": "px",
                      "borderColor": "#000000",
                      "borderStyle": "solid",
                      "borderWidth": 0,
                      "showForRole": [
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        null,
                        false
                      ],
                      "gradEndColor": "#88ff88",
                      "setTextColor": false,
                      "fullPageWidth": false,
                      "gradDirection": "0",
                      "minHeightUnit": "px",
                      "showIfFormula": "",
                      "gradStartColor": "#ff8888",
                      "minScreenWidth": "",
                      "show_for_owner": false
                    },
                    {
                      "name": "9e76db",
                      "type": "view",
                      "view": "CatFilter",
                      "state": "shared"
                    }
                  ]
                },
                "imageSize": "contain",
                "isFormula": {},
                "minHeight": 0,
                "textColor": "#ffffff",
                "widthUnit": "px",
                "heightUnit": "px",
                "borderColor": "#000000",
                "borderStyle": "solid",
                "borderWidth": 0,
                "showForRole": [],
                "gradEndColor": "#88ff88",
                "setTextColor": false,
                "fullPageWidth": false,
                "gradDirection": "0",
                "minHeightUnit": "px",
                "showIfFormula": "",
                "gradStartColor": "#ff8888",
                "minScreenWidth": "md",
                "show_for_owner": false
              }
            ]
          },
          {
            "above": [
              {
                "name": "ec975c",
                "type": "view",
                "view": "PeekThreadFeed",
                "state": "shared"
              },
              {
                "type": "container",
                "block": true,
                "bgType": "None",
                "hAlign": "left",
                "margin": [
                  0,
                  0,
                  0,
                  0
                ],
                "vAlign": "top",
                "bgColor": "#ffffff",
                "padding": [
                  0,
                  0,
                  0,
                  0
                ],
                "bgFileId": 0,
                "contents": {
                  "icon": "",
                  "type": "blank",
                  "block": false,
                  "contents": "Sign in to start a new discussion",
                  "labelFor": "",
                  "isFormula": {},
                  "textStyle": ""
                },
                "imageSize": "contain",
                "isFormula": {},
                "minHeight": 0,
                "textColor": "#ffffff",
                "borderColor": "#000000",
                "borderStyle": "solid",
                "borderWidth": 0,
                "showForRole": [
                  null,
                  false,
                  null,
                  null,
                  false,
                  null,
                  null,
                  null,
                  false
                ],
                "gradEndColor": "#88ff88",
                "setTextColor": false,
                "fullPageWidth": false,
                "gradDirection": "0",
                "showIfFormula": "",
                "gradStartColor": "#ff8888",
                "minScreenWidth": "",
                "show_for_owner": false
              }
            ]
          }
        ],
        "breakpoints": [
          "md",
          "md"
        ]
      },
      "min_role": 10,
      "description": "",
      "fixed_states": {},
      "root_page_for_roles": []
    }
  ],
  "views": [
    {
      "name": "CatFilter",
      "table": "Threads",
      "min_role": 10,
      "viewtemplate": "Filter",
      "configuration": {
        "layout": {
          "above": [
            {
              "size": "btn-block btn-sm",
              "type": "toggle_filter",
              "block": true,
              "style": "secondary",
              "value": "Deployment",
              "field_name": "category"
            },
            {
              "type": "line_break"
            },
            {
              "size": "btn-block btn-sm",
              "type": "toggle_filter",
              "block": true,
              "style": "secondary",
              "value": "Building",
              "field_name": "category"
            },
            {
              "type": "line_break"
            },
            {
              "size": "btn-block btn-sm",
              "type": "toggle_filter",
              "block": true,
              "label": "",
              "style": "secondary",
              "value": "Plugins",
              "field_name": "category"
            },
            {
              "type": "line_break"
            },
            {
              "size": "btn-block btn-sm",
              "type": "toggle_filter",
              "block": true,
              "label": "",
              "style": "secondary",
              "value": "General",
              "field_name": "category"
            }
          ]
        },
        "columns": [
          {
            "type": "ToggleFilter",
            "value": "Deployment",
            "field_name": "category"
          },
          {
            "type": "ToggleFilter",
            "value": "Building",
            "field_name": "category"
          },
          {
            "type": "ToggleFilter",
            "value": "Plugins",
            "field_name": "category"
          },
          {
            "type": "ToggleFilter",
            "value": "General",
            "field_name": "category"
          }
        ],
        "viewname": "CatFilter",
        "exttable_name": null
      },
      "default_render_page": ""
    },
    {
      "name": "EditReply",
      "table": "Replies",
      "min_role": 10,
      "viewtemplate": "Edit",
      "configuration": {
        "fixed": {
          "posted": null,
          "poster": null,
          "thread": null,
          "preset_posted": "Now",
          "preset_poster": "LoggedIn"
        },
        "layout": {
          "above": [
            {
              "type": "field",
              "fieldview": "CKEditor4",
              "field_name": "body",
              "configuration": {}
            },
            {
              "type": "line_break"
            },
            {
              "type": "action",
              "rndid": "42a0d5",
              "minRole": 10,
              "isFormula": {},
              "action_name": "Save",
              "action_style": "btn-primary",
              "configuration": {}
            }
          ]
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "CKEditor4",
            "field_name": "body",
            "configuration": {}
          },
          {
            "type": "Action",
            "rndid": "42a0d5",
            "minRole": 10,
            "isFormula": {},
            "action_name": "Save",
            "action_style": "btn-primary",
            "configuration": {}
          }
        ],
        "viewname": "EditReply",
        "exttable_name": null,
        "view_when_done": "ShowThread.thread"
      },
      "default_render_page": ""
    },
    {
      "name": "NewThread",
      "table": "Threads",
      "min_role": 10,
      "viewtemplate": "Edit",
      "configuration": {
        "fixed": {
          "posted": null,
          "poster": null,
          "preset_posted": "Now",
          "preset_poster": "LoggedIn"
        },
        "layout": {
          "above": [
            {
              "type": "blank",
              "contents": "Title",
              "labelFor": "title",
              "isFormula": {},
              "textStyle": "small"
            },
            {
              "type": "line_break"
            },
            {
              "type": "field",
              "block": true,
              "fieldview": "edit",
              "field_name": "title",
              "configuration": {}
            },
            {
              "type": "blank",
              "contents": "Category",
              "isFormula": {},
              "textStyle": "small"
            },
            {
              "type": "line_break"
            },
            {
              "type": "field",
              "fieldview": "edit",
              "field_name": "category",
              "configuration": {}
            },
            {
              "type": "line_break"
            },
            {
              "type": "blank",
              "contents": "Main text",
              "isFormula": {},
              "textStyle": "small"
            },
            {
              "type": "line_break"
            },
            {
              "type": "field",
              "fieldview": "CKEditor4",
              "field_name": "body",
              "configuration": {}
            },
            {
              "type": "line_break"
            },
            {
              "type": "action",
              "rndid": "718a93",
              "minRole": 10,
              "isFormula": {},
              "action_name": "Save",
              "action_style": "btn-primary",
              "configuration": {}
            }
          ]
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "edit",
            "field_name": "title",
            "configuration": {}
          },
          {
            "type": "Field",
            "fieldview": "edit",
            "field_name": "category",
            "configuration": {}
          },
          {
            "type": "Field",
            "fieldview": "CKEditor4",
            "field_name": "body",
            "configuration": {}
          },
          {
            "type": "Action",
            "rndid": "718a93",
            "minRole": 10,
            "isFormula": {},
            "action_name": "Save",
            "action_style": "btn-primary",
            "configuration": {}
          }
        ],
        "viewname": "NewThread",
        "exttable_name": null,
        "view_when_done": "ShowThread"
      },
      "default_render_page": ""
    },
    {
      "name": "New User",
      "table": "users",
      "min_role": 1,
      "viewtemplate": "Edit",
      "configuration": {
        "fixed": {
          "email": "",
          "preset_email": ""
        },
        "layout": {
          "above": [
            {
              "icon": "",
              "type": "blank",
              "block": false,
              "contents": "Username",
              "labelFor": "username",
              "isFormula": {},
              "textStyle": ""
            },
            {
              "type": "field",
              "block": true,
              "fieldview": "edit",
              "textStyle": "",
              "field_name": "username",
              "configuration": {}
            },
            {
              "icon": "",
              "type": "blank",
              "block": false,
              "contents": "Avatar",
              "labelFor": "avatar",
              "isFormula": {},
              "textStyle": ""
            },
            {
              "type": "field",
              "block": true,
              "fieldview": "upload",
              "textStyle": "",
              "field_name": "avatar",
              "configuration": {}
            },
            {
              "type": "line_break"
            },
            {
              "type": "action",
              "block": false,
              "rndid": "3200d0",
              "minRole": 10,
              "isFormula": {},
              "action_icon": "",
              "action_name": "Save",
              "action_size": "",
              "action_label": "",
              "action_style": "btn-primary",
              "configuration": {}
            }
          ]
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "edit",
            "field_name": "username",
            "configuration": {}
          },
          {
            "type": "Field",
            "fieldview": "upload",
            "field_name": "avatar",
            "configuration": {}
          },
          {
            "type": "Action",
            "rndid": "3200d0",
            "minRole": 10,
            "isFormula": {},
            "action_icon": "",
            "action_name": "Save",
            "action_size": "",
            "action_label": "",
            "action_style": "btn-primary",
            "configuration": {}
          }
        ],
        "viewname": "NewUser",
        "exttable_name": null,
        "view_when_done": "ThreadList"
      },
      "default_render_page": ""
    },
    {
      "name": "PeekThread",
      "table": "Threads",
      "min_role": 10,
      "viewtemplate": "Show",
      "configuration": {
        "layout": {
          "above": [
            {
              "url": "'/view/ShowThread?id='+id",
              "type": "container",
              "block": true,
              "bgType": "None",
              "hAlign": "left",
              "margin": [
                0,
                0,
                0,
                "0"
              ],
              "vAlign": "top",
              "bgColor": "#ffffff",
              "padding": [
                "8",
                "8",
                "8",
                "8"
              ],
              "bgFileId": 0,
              "contents": {
                "widths": [
                  1,
                  8,
                  2,
                  1
                ],
                "besides": [
                  {
                    "type": "container",
                    "block": true,
                    "width": "50",
                    "bgType": "None",
                    "hAlign": "left",
                    "height": "50",
                    "margin": [
                      0,
                      0,
                      0,
                      0
                    ],
                    "vAlign": "top",
                    "bgColor": "#ffffff",
                    "padding": [
                      0,
                      0,
                      0,
                      0
                    ],
                    "bgFileId": 0,
                    "contents": {
                      "name": "ac4f04",
                      "type": "view",
                      "view": "ParentShow:ShowAvatar.users.poster",
                      "state": "shared"
                    },
                    "imageSize": "contain",
                    "isFormula": {},
                    "minHeight": 0,
                    "textColor": "#ffffff",
                    "widthUnit": "px",
                    "heightUnit": "px",
                    "borderColor": "#000000",
                    "borderStyle": "solid",
                    "borderWidth": 0,
                    "showForRole": [],
                    "gradEndColor": "#88ff88",
                    "setTextColor": false,
                    "fullPageWidth": false,
                    "gradDirection": "0",
                    "minHeightUnit": "px",
                    "showIfFormula": "",
                    "gradStartColor": "#ff8888",
                    "maxScreenWidth": "",
                    "minScreenWidth": "md",
                    "show_for_owner": false
                  },
                  {
                    "above": [
                      {
                        "type": "field",
                        "block": true,
                        "fieldview": "as_text",
                        "textStyle": "h4",
                        "field_name": "title",
                        "configuration": {}
                      },
                      {
                        "type": "join_field",
                        "block": false,
                        "textStyle": "",
                        "join_field": "poster.username"
                      },
                      {
                        "icon": "",
                        "type": "blank",
                        "block": false,
                        "contents": "   ",
                        "labelFor": "",
                        "isFormula": {},
                        "textStyle": ""
                      },
                      {
                        "type": "field",
                        "block": false,
                        "fieldview": "relative",
                        "textStyle": "text-muted",
                        "field_name": "posted",
                        "configuration": {}
                      },
                      {
                        "type": "line_break"
                      },
                      {
                        "type": "field",
                        "block": false,
                        "fieldview": "peek",
                        "textStyle": "text-muted",
                        "field_name": "body",
                        "configuration": {}
                      }
                    ]
                  },
                  {
                    "type": "container",
                    "block": true,
                    "bgType": "None",
                    "hAlign": "left",
                    "margin": [
                      0,
                      0,
                      "0",
                      0
                    ],
                    "vAlign": "top",
                    "bgColor": "#ffffff",
                    "padding": [
                      "3",
                      "3",
                      "3",
                      "3"
                    ],
                    "contents": {
                      "type": "field",
                      "block": false,
                      "fieldview": "as_text",
                      "textStyle": "",
                      "field_name": "category",
                      "configuration": {}
                    },
                    "imageSize": "contain",
                    "isFormula": {},
                    "textColor": "#ffffff",
                    "widthUnit": "px",
                    "heightUnit": "px",
                    "borderStyle": "solid",
                    "customClass": "badge badge-info",
                    "showForRole": [],
                    "setTextColor": false,
                    "fullPageWidth": false,
                    "minHeightUnit": "px",
                    "showIfFormula": "",
                    "maxScreenWidth": "",
                    "minScreenWidth": "",
                    "show_for_owner": false
                  },
                  {
                    "above": [
                      {
                        "icon": "fas fa-comment",
                        "type": "blank",
                        "block": false,
                        "contents": "",
                        "labelFor": "",
                        "isFormula": {},
                        "textStyle": ""
                      },
                      {
                        "stat": "Count",
                        "type": "aggregation",
                        "block": false,
                        "aggwhere": "",
                        "agg_field": "id",
                        "textStyle": "",
                        "agg_relation": "Replies.thread"
                      }
                    ]
                  }
                ],
                "breakpoints": [
                  "md",
                  "",
                  "sm",
                  "sm"
                ]
              },
              "imageSize": "contain",
              "isFormula": {
                "url": true
              },
              "minHeight": 0,
              "textColor": "#ffffff",
              "widthUnit": "px",
              "heightUnit": "px",
              "hoverColor": "light",
              "borderColor": "#000000",
              "borderStyle": "solid",
              "borderWidth": 0,
              "showForRole": [],
              "gradEndColor": "#88ff88",
              "setTextColor": false,
              "fullPageWidth": false,
              "gradDirection": "0",
              "minHeightUnit": "px",
              "showIfFormula": "",
              "gradStartColor": "#ff8888",
              "maxScreenWidth": "",
              "minScreenWidth": "",
              "show_for_owner": false
            },
            {
              "type": "line_break"
            }
          ]
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "title",
            "configuration": {}
          },
          {
            "type": "JoinField",
            "join_field": "poster.username"
          },
          {
            "type": "Field",
            "fieldview": "relative",
            "field_name": "posted",
            "configuration": {}
          },
          {
            "type": "Field",
            "fieldview": "peek",
            "field_name": "body",
            "configuration": {}
          },
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "category",
            "configuration": {}
          },
          {
            "stat": "Count",
            "type": "Aggregation",
            "aggwhere": "",
            "agg_field": "id",
            "agg_relation": "Replies.thread"
          }
        ],
        "viewname": "PeekThread",
        "page_title": "",
        "exttable_name": null,
        "page_title_formula": false
      },
      "default_render_page": ""
    },
    {
      "name": "PeekThreadFeed",
      "table": "Threads",
      "min_role": 10,
      "viewtemplate": "Feed",
      "configuration": {
        "cols_lg": 1,
        "cols_md": 1,
        "cols_sm": 1,
        "cols_xl": 1,
        "in_card": false,
        "viewname": "PeekThreadFeed",
        "show_view": "PeekThread",
        "descending": true,
        "order_field": "posted",
        "exttable_name": null,
        "rows_per_page": 20,
        "view_to_create": "NewThread",
        "hide_pagination": false,
        "masonry_columns": false,
        "create_view_label": "Start a new discussion",
        "create_view_display": "Link",
        "create_view_location": ""
      },
      "default_render_page": ""
    },
    {
      "name": "ReplyFeed",
      "table": "Replies",
      "min_role": 10,
      "viewtemplate": "Feed",
      "configuration": {
        "cols_lg": 1,
        "cols_md": 1,
        "cols_sm": 1,
        "cols_xl": 1,
        "in_card": false,
        "viewname": "ReplyFeed",
        "show_view": "ShowReply",
        "descending": false,
        "order_field": "posted",
        "exttable_name": null,
        "rows_per_page": 20,
        "view_to_create": "EditReply",
        "hide_pagination": false,
        "masonry_columns": false,
        "create_view_label": null,
        "create_view_display": "Embedded",
        "create_view_location": null
      },
      "default_render_page": ""
    },
    {
      "name": "ShowAvatar",
      "table": "users",
      "min_role": 10,
      "viewtemplate": "Show",
      "configuration": {
        "layout": {
          "type": "container",
          "block": true,
          "bgType": "None",
          "hAlign": "left",
          "margin": [
            0,
            0,
            0,
            0
          ],
          "vAlign": "top",
          "bgColor": "#ffffff",
          "padding": [
            0,
            0,
            0,
            0
          ],
          "bgFileId": 0,
          "contents": {
            "type": "field",
            "block": false,
            "fieldview": "Show Image",
            "textStyle": "",
            "field_name": "avatar",
            "configuration": {}
          },
          "overflow": "hidden",
          "imageSize": "contain",
          "isFormula": {},
          "minHeight": 0,
          "textColor": "#ffffff",
          "borderColor": "#000000",
          "borderStyle": "solid",
          "borderWidth": 0,
          "showForRole": [],
          "borderRadius": "50",
          "gradEndColor": "#88ff88",
          "setTextColor": false,
          "fullPageWidth": false,
          "gradDirection": "0",
          "showIfFormula": "",
          "gradStartColor": "#ff8888",
          "minScreenWidth": "",
          "show_for_owner": false,
          "borderRadiusUnit": "%"
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "Show Image",
            "field_name": "avatar",
            "configuration": {}
          }
        ],
        "viewname": "ShowAvatar",
        "page_title": "",
        "exttable_name": null,
        "page_title_formula": false
      },
      "default_render_page": ""
    },
    {
      "name": "ShowReply",
      "table": "Replies",
      "min_role": 10,
      "viewtemplate": "Show",
      "configuration": {
        "layout": {
          "above": [
            {
              "widths": [
                1,
                11
              ],
              "besides": [
                {
                  "type": "container",
                  "block": true,
                  "bgType": "None",
                  "hAlign": "left",
                  "margin": [
                    0,
                    0,
                    0,
                    0
                  ],
                  "vAlign": "top",
                  "bgColor": "#ffffff",
                  "padding": [
                    0,
                    0,
                    0,
                    0
                  ],
                  "bgFileId": 0,
                  "contents": {
                    "name": "11ae19",
                    "type": "view",
                    "view": "ParentShow:ShowAvatar.users.poster",
                    "state": "shared"
                  },
                  "imageSize": "contain",
                  "isFormula": {},
                  "minHeight": 0,
                  "textColor": "#ffffff",
                  "widthUnit": "px",
                  "heightUnit": "px",
                  "borderColor": "#000000",
                  "borderStyle": "solid",
                  "borderWidth": 0,
                  "showForRole": [],
                  "gradEndColor": "#88ff88",
                  "setTextColor": false,
                  "fullPageWidth": false,
                  "gradDirection": "0",
                  "minHeightUnit": "px",
                  "showIfFormula": "",
                  "gradStartColor": "#ff8888",
                  "maxScreenWidth": "",
                  "minScreenWidth": "md",
                  "show_for_owner": false
                },
                {
                  "above": [
                    {
                      "type": "container",
                      "block": false,
                      "width": "30",
                      "bgType": "None",
                      "hAlign": "left",
                      "height": "30",
                      "margin": [
                        "0",
                        0,
                        "0",
                        0
                      ],
                      "vAlign": "top",
                      "bgColor": "#ffffff",
                      "padding": [
                        0,
                        0,
                        0,
                        0
                      ],
                      "bgFileId": 0,
                      "contents": {
                        "name": "d4e1a9",
                        "type": "view",
                        "view": "ParentShow:ShowAvatar.users.poster",
                        "state": "shared"
                      },
                      "imageSize": "contain",
                      "isFormula": {},
                      "minHeight": 0,
                      "textColor": "#ffffff",
                      "borderColor": "#000000",
                      "borderStyle": "solid",
                      "borderWidth": 0,
                      "showForRole": [],
                      "gradEndColor": "#88ff88",
                      "setTextColor": false,
                      "fullPageWidth": false,
                      "gradDirection": "0",
                      "showIfFormula": "",
                      "gradStartColor": "#ff8888",
                      "maxScreenWidth": "md",
                      "minScreenWidth": "",
                      "show_for_owner": false
                    },
                    {
                      "type": "join_field",
                      "block": false,
                      "textStyle": "font-weight-bold",
                      "join_field": "poster.username"
                    },
                    {
                      "icon": "",
                      "type": "blank",
                      "block": false,
                      "contents": "      ",
                      "labelFor": "",
                      "isFormula": {},
                      "textStyle": "small"
                    },
                    {
                      "type": "field",
                      "block": false,
                      "fieldview": "relative",
                      "textStyle": "text-muted",
                      "field_name": "posted",
                      "configuration": {}
                    },
                    {
                      "type": "line_break"
                    },
                    {
                      "type": "field",
                      "block": true,
                      "fieldview": "showAll",
                      "textStyle": "",
                      "field_name": "body",
                      "configuration": {}
                    }
                  ]
                }
              ],
              "breakpoints": [
                "md",
                "md"
              ]
            },
            {
              "type": "blank",
              "isHTML": true,
              "contents": "
" } ] }, "columns": [ { "type": "JoinField", "join_field": "poster.username" }, { "type": "Field", "fieldview": "relative", "field_name": "posted", "configuration": {} }, { "type": "Field", "fieldview": "showAll", "field_name": "body", "configuration": {} } ], "viewname": "ShowReply", "page_title": "", "exttable_name": null, "page_title_formula": false }, "default_render_page": "" }, { "name": "ShowThread", "table": "Threads", "min_role": 10, "viewtemplate": "Show", "configuration": { "layout": { "above": [ { "type": "container", "block": true, "bgType": "Color", "hAlign": "center", "margin": [ "0", 0, 0, 0 ], "vAlign": "top", "bgColor": "#3d3d3d", "padding": [ "20", 0, "20", 0 ], "contents": { "above": [ { "type": "field", "block": false, "fieldview": "as_text", "textStyle": "h4", "field_name": "title", "configuration": {} }, { "type": "container", "block": true, "bgType": "None", "hAlign": "left", "margin": [ 0, 0, 0, 0 ], "vAlign": "top", "bgColor": "#ffffff", "padding": [ "3", "3", "3", "3" ], "contents": { "type": "field", "block": false, "fieldview": "as_text", "textStyle": "", "field_name": "category", "configuration": {} }, "imageSize": "contain", "isFormula": {}, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderStyle": "solid", "customClass": "badge badge-info", "showForRole": [], "setTextColor": false, "fullPageWidth": false, "minHeightUnit": "px", "showIfFormula": "", "maxScreenWidth": "", "minScreenWidth": "", "show_for_owner": false } ] }, "imageSize": "contain", "isFormula": {}, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderStyle": "solid", "showForRole": [], "setTextColor": true, "fullPageWidth": true, "minHeightUnit": "px", "showIfFormula": "", "maxScreenWidth": "", "minScreenWidth": "", "show_for_owner": false }, { "type": "line_break" }, { "widths": [ 1, 11 ], "besides": [ { "type": "container", "block": true, "width": "", "bgType": "None", "hAlign": "left", "height": "", "margin": [ 0, 0, 0, 0 ], "vAlign": "top", "bgColor": "#ffffff", "padding": [ 0, 0, 0, 0 ], "bgFileId": 0, "contents": { "type": "container", "block": true, "bgType": "None", "hAlign": "left", "margin": [ 0, 0, 0, 0 ], "vAlign": "top", "bgColor": "#ffffff", "padding": [ 0, 0, 0, 0 ], "bgFileId": 0, "contents": { "name": "a57686", "type": "view", "view": "ParentShow:ShowAvatar.users.poster", "state": "shared" }, "imageSize": "contain", "isFormula": {}, "minHeight": 0, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 0, "showForRole": [], "gradEndColor": "#88ff88", "setTextColor": false, "fullPageWidth": false, "gradDirection": "0", "minHeightUnit": "px", "showIfFormula": "", "gradStartColor": "#ff8888", "maxScreenWidth": "", "minScreenWidth": "md", "show_for_owner": false }, "imageSize": "contain", "isFormula": {}, "minHeight": 0, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 0, "showForRole": [], "gradEndColor": "#88ff88", "setTextColor": false, "fullPageWidth": false, "gradDirection": "0", "minHeightUnit": "px", "showIfFormula": "", "gradStartColor": "#ff8888", "maxScreenWidth": "", "minScreenWidth": "", "show_for_owner": false }, { "above": [ { "type": "container", "block": false, "width": "30", "bgType": "None", "hAlign": "left", "height": "30", "margin": [ 0, 0, 0, 0 ], "vAlign": "top", "bgColor": "#ffffff", "padding": [ 0, 0, 0, 0 ], "bgFileId": 0, "contents": { "name": "5662be", "type": "view", "view": "ParentShow:ShowAvatar.users.poster", "state": "shared" }, "imageSize": "contain", "isFormula": {}, "minHeight": 0, "textColor": "#ffffff", "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 0, "showForRole": [], "gradEndColor": "#88ff88", "setTextColor": false, "fullPageWidth": false, "gradDirection": "0", "showIfFormula": "", "gradStartColor": "#ff8888", "maxScreenWidth": "md", "minScreenWidth": "", "show_for_owner": false }, { "type": "join_field", "block": false, "textStyle": "font-weight-bold", "join_field": "poster.username" }, { "icon": "", "type": "blank", "block": false, "contents": "     ", "labelFor": "", "isFormula": {}, "textStyle": "small" }, { "type": "field", "block": false, "fieldview": "relative", "textStyle": "text-muted", "field_name": "posted", "configuration": {} }, { "type": "line_break" }, { "type": "field", "block": true, "fieldview": "showAll", "textStyle": "", "field_name": "body", "configuration": {} }, { "type": "line_break" }, { "type": "container", "block": true, "bgType": "None", "hAlign": "left", "margin": [ 0, 0, 0, 0 ], "vAlign": "top", "bgColor": "#ffffff", "padding": [ 0, 0, 0, 0 ], "contents": { "type": "view_link", "view": "Own:NewThread", "block": false, "minRole": 10, "in_modal": false, "isFormula": {}, "link_icon": "far fa-edit", "link_size": "btn-sm", "link_style": "btn btn-secondary", "view_label": "Edit" }, "imageSize": "contain", "isFormula": {}, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderStyle": "solid", "showForRole": [ null, false, null, null, false, null, null, null, false, null, false ], "setTextColor": false, "fullPageWidth": false, "minHeightUnit": "px", "showIfFormula": "", "maxScreenWidth": "", "minScreenWidth": "", "show_for_owner": true } ] } ], "breakpoints": [ "md", "md" ] }, { "type": "blank", "isHTML": true, "contents": "
" }, { "name": "1fbeb1", "type": "view", "view": "ChildList:ReplyFeed.Replies.thread", "state": "shared" }, { "type": "container", "block": true, "bgType": "None", "hAlign": "left", "margin": [ 0, 0, 0, 0 ], "vAlign": "top", "bgColor": "#ffffff", "padding": [ 0, 0, 0, 0 ], "bgFileId": 0, "contents": { "icon": "", "type": "blank", "block": false, "contents": "Sign up to post a reply", "labelFor": "", "isFormula": {}, "textStyle": "" }, "imageSize": "contain", "isFormula": {}, "minHeight": 0, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 0, "showForRole": [ null, false, null, null, false, null, null, null, false ], "gradEndColor": "#88ff88", "setTextColor": false, "fullPageWidth": false, "gradDirection": "0", "minHeightUnit": "px", "showIfFormula": "", "gradStartColor": "#ff8888", "maxScreenWidth": "", "minScreenWidth": "", "show_for_owner": false } ] }, "columns": [ { "type": "Field", "fieldview": "as_text", "field_name": "title", "configuration": {} }, { "type": "Field", "fieldview": "as_text", "field_name": "category", "configuration": {} }, { "type": "JoinField", "join_field": "poster.username" }, { "type": "Field", "fieldview": "relative", "field_name": "posted", "configuration": {} }, { "type": "Field", "fieldview": "showAll", "field_name": "body", "configuration": {} }, { "type": "ViewLink", "view": "Own:NewThread", "minRole": 10, "in_modal": false } ], "viewname": "ShowThread", "page_title": "title", "exttable_name": null, "page_title_formula": true }, "default_render_page": "" }, { "name": "ThreadList", "table": "Threads", "min_role": 10, "menu_label": "ThreadList", "viewtemplate": "List", "configuration": { "layout": { "above": [ null, { "widths": [ 2, 10 ], "besides": [ { "above": [ null, { "type": "blank", "block": false, "contents": "Title", "textStyle": "" } ] }, { "above": [ null, { "type": "field", "block": false, "fieldview": "as_text", "textStyle": "", "field_name": "title" } ] } ] }, { "type": "line_break" }, { "widths": [ 2, 10 ], "besides": [ { "above": [ null, { "type": "blank", "block": false, "contents": "Body", "textStyle": "" } ] }, { "above": [ null, { "type": "field", "block": false, "fieldview": "showAll", "textStyle": "", "field_name": "body" } ] } ] }, { "type": "line_break" }, { "widths": [ 2, 10 ], "besides": [ { "above": [ null, { "type": "blank", "block": false, "contents": "Posted", "textStyle": "" } ] }, { "above": [ null, { "type": "field", "block": false, "fieldview": "show", "textStyle": "", "field_name": "posted" } ] } ] }, { "type": "line_break" }, { "type": "line_break" } ] }, "columns": [ { "type": "ViewLink", "view": "Own:ShowThread", "link_size": "", "link_style": "", "view_label": "title", "header_label": "", "view_label_formula": "on" }, { "type": "Field", "fieldview": "relative", "field_name": "posted", "state_field": "on", "header_label": "" }, { "type": "JoinField", "join_field": "poster.email", "header_label": "" }, { "stat": "Count", "type": "Aggregation", "aggwhere": "", "agg_field": "id", "agg_relation": "Replies.thread", "header_label": "Replies" } ], "viewname": "ThreadList", "default_state": { "id": null, "body": "", "title": "", "posted": null, "poster": null, "_descending": true, "_omit_header": true, "_order_field": "posted", "_rows_per_page": 20, "_create_db_view": false, "_omit_state_form": true }, "exttable_name": null, "view_to_create": "NewThread", "create_view_label": "New post", "create_view_display": "Link", "create_view_location": "Bottom left" }, "default_render_page": "" } ], "tables": [ { "name": "Replies", "fields": [ { "name": "id", "type": "Integer", "label": "ID", "stored": false, "required": true, "is_unique": true, "attributes": {}, "calculated": false, "expression": null, "primary_key": true }, { "name": "poster", "type": "Key", "label": "Poster", "stored": false, "refname": "id", "reftype": "Integer", "required": false, "is_unique": false, "attributes": { "summary_field": "email" }, "calculated": false, "expression": null, "primary_key": false, "reftable_name": "users" }, { "name": "thread", "type": "Key", "label": "Thread", "stored": false, "refname": "id", "reftype": "Integer", "required": true, "is_unique": false, "attributes": { "summary_field": "title" }, "calculated": false, "expression": null, "primary_key": false, "reftable_name": "Threads" }, { "name": "body", "type": "HTML", "label": "Body", "stored": false, "required": false, "is_unique": false, "attributes": {}, "calculated": false, "expression": null, "primary_key": false }, { "name": "posted", "type": "Date", "label": "Posted", "stored": false, "required": true, "is_unique": false, "attributes": {}, "calculated": false, "expression": null, "primary_key": false } ], "triggers": [], "versioned": false, "constraints": [], "min_role_read": 10, "min_role_write": 1, "ownership_field_name": "poster" }, { "name": "Threads", "fields": [ { "name": "id", "type": "Integer", "label": "ID", "stored": false, "required": true, "is_unique": true, "attributes": {}, "calculated": false, "expression": null, "primary_key": true }, { "name": "title", "type": "String", "label": "Title", "stored": false, "required": false, "is_unique": false, "attributes": { "regexp": "", "options": "", "max_length": null, "min_length": null, "re_invalid_error": "" }, "calculated": false, "expression": null, "primary_key": false }, { "name": "body", "type": "HTML", "label": "Body", "stored": false, "required": false, "is_unique": false, "attributes": {}, "calculated": false, "expression": null, "primary_key": false }, { "name": "posted", "type": "Date", "label": "Posted", "stored": false, "required": false, "is_unique": false, "attributes": {}, "calculated": false, "expression": null, "primary_key": false }, { "name": "poster", "type": "Key", "label": "Poster", "stored": false, "refname": "id", "reftype": "Integer", "required": false, "is_unique": false, "attributes": { "summary_field": "email" }, "calculated": false, "expression": null, "primary_key": false, "reftable_name": "users" }, { "name": "category", "type": "String", "label": "Category", "stored": false, "required": false, "is_unique": false, "attributes": { "regexp": "", "options": "Deployment,Building,Plugins,General", "max_length": null, "min_length": null, "re_invalid_error": "" }, "calculated": false, "expression": null, "primary_key": false } ], "triggers": [], "versioned": false, "constraints": [], "min_role_read": 10, "min_role_write": 1, "ownership_field_name": "poster" }, { "name": "users", "fields": [ { "name": "email", "type": "String", "label": "Email", "stored": false, "required": true, "is_unique": true, "attributes": {}, "calculated": false, "expression": null, "primary_key": false }, { "name": "id", "type": "Integer", "label": "ID", "stored": false, "required": true, "is_unique": true, "attributes": {}, "calculated": false, "expression": null, "primary_key": true }, { "name": "username", "type": "String", "label": "username", "stored": false, "required": true, "is_unique": true, "attributes": { "regexp": "", "options": "", "max_length": null, "min_length": null, "re_invalid_error": "" }, "calculated": false, "expression": null, "primary_key": false }, { "name": "avatar", "type": "File", "label": "avatar", "stored": false, "refname": "id", "reftype": "Integer", "required": false, "is_unique": false, "attributes": { "min_role_read": "10" }, "calculated": false, "expression": null, "primary_key": false, "reftable_name": "_sc_files" } ], "triggers": [], "versioned": false, "constraints": [], "min_role_read": 1, "min_role_write": 1, "ownership_field_name": null } ], "plugins": [ { "name": "@saltcorn/html", "source": "npm", "location": "@saltcorn/html", "configuration": null }, { "name": "ckeditor4", "source": "npm", "location": "@saltcorn/ckeditor4", "configuration": null }, { "name": "any-bootstrap-theme", "source": "npm", "location": "@saltcorn/any-bootstrap-theme", "configuration": { "fluid": false, "theme": "flatly", "toppad": 2, "css_url": null, "in_card": false, "css_file": null, "fixedTop": false, "colorscheme": "navbar-light", "css_integrity": null, "backgroundColor": "#ffffff" } } ] }