Extension news

Static templates

This extension provides more flexibility by adding a dummy asset field, a layout with an image on top and optimized image rendering. To get these features the static template (from extension) Pizpalue - news (pizpalue) needs to be added. The resulting template hierarchy would be as following:

  1. News (news)
  2. News Styles Twitter Bootstrap V5 (news)
  3. Pizpalue - news (pizpalue)

Note

In case the extension eventnews is installed the template hierarchy would be as following:

  1. News (news)
  2. News Styles Twitter Bootstrap V5 (news)
  3. Eventnews (eventnews)
  4. Pizpalue - news (pizpalue)
  5. Pizpalue - eventnews (eventnews)

Note

To show news in modal dialog content elements the template hierarchy needs to be as following:

  1. News (news)
  2. News Styles Twitter Bootstrap V5 (news)
  3. Pizpalue - news (pizpalue)
  4. Pizpalue - Main (pizpalue)

RSS Feed

To provide an RSS feed the following steps could be followed:

  1. Create an extension template on a page where the feed should be available
  2. Include static template (from extension) “Pizpalue - news RSS feed (pizpalue)”
  3. Configure the behaviour using the constant editor (category “PIZPALUE: NEWS RSS”)
  4. Add “?type=9818&no_cache=1” to the page link to get the feed link

Note

To embed external feeds the extension rss_display might be used. At the time of writing the extension didn’t provide a view helper to get the url from enclosed images. The branch enclosure-view-helper from fork chesio/rss_display provides one.