benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.
https://www.bootstrap-package.com/
MIT License
338 stars 205 forks source link

feat: Add classes for plugin type #1457

Closed SventB closed 1 month ago

SventB commented 10 months ago

Pull Request

Prerequisites

Description

It could be useful to know which plugin a frame contains. This pull requests adds this information (e.g. class "frame-type-list-indexedsearch_pi2") to the frame-div:

<div id="c149" class=" frame frame-default frame-type-list frame-type-list-indexedsearch_pi2 frame-layout-default frame-size-default frame-height-default frame-background-none frame-space-before-none frame-space-after-none frame-no-backgroundimage">

Steps to Validate

  1. Create a content element containing a plugin, e.g. plugin of EXT:indexed_search
  2. Check HTML code in FE
benjaminkott commented 1 month ago

@SventB list-type has just been deprecated and will be phased out, it´s recommended to use the CType instead. Moving forward we there will only be dedicated CType for everthing. I will close this pr for that reasoning. Please see the patch deprecating list-type for more information.

https://review.typo3.org/c/Packages/TYPO3.CMS/+/86253