svenjuergens/simplepie-rss

An example extension

Installs: 157

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

3.0.2 2024-01-19 10:40 UTC

This package is auto-updated.

Last update: 2024-04-19 11:08:28 UTC


README

Latest Stable Version Packagist

Display RSS with help of http://simplepie.org/.

Installation

Simply install the extension with Extension Manager or Composer composer require svenjuergens/simplepie-rss

Configuration

add TypoScript

Use

add it on your site as ContentElement, paste path to RSS feed an that a limit.

new with 2.1.0

added a Template Layout field in flexform

you can fill it in page tsconfig like that:

#################
#### TCEFORM ####
#################
TCEFORM {
  tt_content {
    pi_flexform {
      simplepierss_simplepierssviewer {
        sDEF {
          settings\.templateLayout {
            addItems.secondLayout = my second Layout
            addItems.thirdLayout = my third Layout
          }
        }
      }
    }
  }
}

in TypoScript overwrite the template file like

plugin.tx_simplepierss.view {
  layoutRootPaths {
    10 = EXT:mysitePackage/Resources/Private/ExtensionsOverwrite/simplepie_rss/Resources/Layouts/
  }
  templateRootPaths {
    10 = EXT:mysitePackage/Resources/Private/ExtensionsOverwrite/simplepie_rss/Resources/Templates/
  }
}

and use in ask for your new templateLayout like:

<f:if condition="{settings.templateLayout} == 'secondLayout'">
     ....
</f:if>