Digital Content

Pim -

Digital Content allows us to define lists or single items of data or information that do not fit into the model of pages and modules, but yet still need to be actively maintained by content editors. This could be a list of blog posts or news articles, or even just a single item representing a header control that is shared across multiple pages. These items can be global as ‘shared content’ items, or attached to a specific module as ‘new content’.

In many ways, these content items or lists are similar in concept to modules: we create a definition for each one and then create instances of it in order to add actual data items.

You can see the existing content definitions of our Sample Site by navigating to Settings > Content Definitions in Agility. You’ll see that most of the items in the table have a type of “Content List”, which makes perfect sense for list of blogs, bands, albums etc. where you’d expect there to be more than one item. You’ll also notice that there’s an item called “Global Header” which has a type of “Content Item” – in practice this also makes perfect sense as the website only has one footer, we’re using a content item here so that we can share it across every page on the website and only need to update its properties in one central place.

We don’t need to go into exactly how lists and items are defined here, because they are constructed in exactly the same way as module definitions – you have the same property types available to you and the same input form customization options. The only addition to content lists is that you can specify what properties are displayed on the grid, and what order the items appear in. We use this in an example in the following lab.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.