The news/blog extension allows you to manage news items or blog posts and display them in the front end. Unlike articles that are associated with a particular page, news items are organized in news archives, which allows you to easily group, categorize or export them.
News archives are used to group and/or categorize news items. Each archive can relate to a certain language or a particular topic.
Front end modules
Front end modules are used to display news items on the website. They can be configured with the "Modules" module in the back end and have to be added to an article or page layout to actually show up on the website. The news/blog extension includes four front end modules:
|Newslist||mod_newslist||Adds a list of news items to a page.|
|Newsreader||mod_newsreader||Shows the details of a news item.|
|News archive||mod_newsarchive||Adds a news archive to a page.|
|News archive menu||mod_newsarchiveMenu||Generates a navigation menu to browse the news archive.|
Each news item has a unique URL (permalink) that can be used to reference it:
The above URL requests the news item "james-wilson-returns" via the page "news". Remember that Contao is a page-based CMS, so if the page "news" did not exist or if it did not include the news reader module, the news item would not be displayed.