Back

WebPage Backed Home Feeds

These feeds create new WebPage DataItems for each feed that's added, these WebPages are associated with the Feed.


Feed One

Feed One Sub Title

Feed Two

Feed Two Sub Title

Another

Another Sub Title

asdf asdf asdf

asdf asdf asdf Sub Title

More Items

More Items Sub Title

I'm herer

I'm herer Sub Title


The Landing Page

Clearly if you're creating a list of feeds that have WebPages added for each feed, and you want to link to these pages, you need to create a Section for these WebPages to be rendered in.

JSON Options

{
  "cFeedType": "WEBPAGE_EX_01",
  "nMaxFeeds": -1,
  "cDataItemType": "",
  "nDataItemId": -1,
  "cListItemCtrl": "Net4orce.Canvas.General.HomeFeeds.List.ListItem",
  "cItemCSSClass": "col-md-6",
  "oImgOptions": {
    "width": "300",
    "height": "200",
    "color": "#333",
    "background": "#aaa",
    "cssClass": ""
  },
  "bEnablePaging": false,
  "cPageParam": "page",
  "nPageSize": 12,
  "cPagerPosition": "both",
  "cPagingType": "normal",
  "cSortOn": "nSort",
  "cPagerControl": "Net4orce.Canvas.General.HomeFeeds.List.Pager",
  "bEnableWebPages": true,
  "cRootURL": "/homefeed/demo/webpage/",
  "cWebPageType": "WEBPAGE_EX_01"
}

Back

Enable WebPage Support

To enable the Support of Adding WebPages, set bEnableWebPages to true.

Doing so a new WebPage is added with it's cName value set to the same as the Feed's name.

Additionally, the cRootURL property defines the path that the new Pages should appear within.

Access Control

One thing to bear in mind, the WebPage added with each field has the ACL set to User's with a role of at least Author.

This means when the admin add a feed & edits the content of the destination page they need to use the ACL tool to make it visible to the public.

We need to add similar logic to the listing items.