Back

Mini Feed Example

This example shows how the Feeds can be used as a min listing, as an aside from the Main page content.

JSON options

The Options used to create the Feed look like :

{
  "cFeedType": "MINI_EX_01",
  "nMaxFeeds": 4,
  "cDataItemType": "",
  "nDataItemId": -1,
  "cListItemCtrl": "Net4orce.Canvas.General.HomeFeeds.List.ListItem",
  "cItemCSSClass": "col-md-12",
  "oImgOptions": {
    "width": "200",
    "height": "40",
    "color": "#333",
    "background": "#aaa",
    "cssClass": ""
  },
  "bEnablePaging": false,
  "cPageParam": "page",
  "nPageSize": 12,
  "cPagerPosition": "both",
  "cPagingType": "normal",
  "cSortOn": "nSort",
  "cPagerControl": "Net4orce.Canvas.General.HomeFeeds.List.Pager"
}

Using a Limit

This example is using the the nMaxFeeds property to restrict the number of feeds an Author / Admin can add to their page.

Back

First

First Sub Title

Second

Second Sub Title

Third

Third Sub Title

Forth

Forth Sub Title