WapplerSystems / ws_slider

GNU General Public License v2.0
3 stars 2 forks source link

Cars were not displayed #3

Open froemken opened 4 years ago

froemken commented 4 years ago

Hello,

In Partials I saw, that it is possible to show Text and Images as Cards (Layout: Cards) instead of just images (Layout: Default), but in Selector of tt_content I only can find one entry (Default). Currenty I have helped me with pageTSconfig to addItem a new Entry to this selector.

As you see here, you only add one entry: https://github.com/svewap/ws_slider/blob/master/Configuration/TCA/Overrides/tt_content.php#L107-L110

Stefan

DavidBruchmann commented 2 years ago

You can set new ones, by PageTS, in the code the itemsProcFunction's functionality boils down to these lines in the Utility: https://github.com/WapplerSystems/ws_slider/blob/master/Classes/Utility/TemplateLayout.php#L52-L53