IchHabRecht / mask_export

Export your mask elements as extension
GNU General Public License v2.0
45 stars 27 forks source link

Inline content elements shown as unused in page layout view #182

Closed nhovratov closed 3 years ago

nhovratov commented 3 years ago

Mask has solved this issue with this hook: https://github.com/Gernott/mask/blob/master/Classes/Hooks/PageLayoutViewHook.php

// Hook to override colpos check for unused tt_content elements $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['record_is_used'][] = \MASK\Mask\Hooks\PageLayoutViewHook::class . '->contentIsUsed';

This should be added to the exported extension as well.

IchHabRecht commented 3 years ago

Hi @nhovratov,

Thank you for your feedback. This issue duplicates https://github.com/IchHabRecht/mask_export/issues/146 - you can find my recommendation in there.

nhovratov commented 3 years ago

Ah, thanks. Good to know!