简体   繁体   English

遮罩中的内容元素:选择而不是内联

[英]Content Element in Mask: Select instead of Inline

I'm using latest TYPO3 8.7.7 together with MASK 3.0.1 and would like re-use content Elements. 我正在将最新的TYPO3 8.7.7与MASK 3.0.1一起使用,并希望重复使用内容Elements。

I've created a two Mask Elements: A Slider- and a Slide-Element. 我创建了两个蒙版元素:一个Slider-和一个Slide-Element。 Inside the "Slider" the user can add "Slides". 用户可以在“滑块”内添加“幻灯片”。 By default theses Content-Element are Inline. 默认情况下,这些Content-Element为内联。

My question is: Is there a way no to use Inline-Elements and Select-Boxes instead? 我的问题是: 有没有办法改为使用内联元素和选择框?

In an Extbase Extesion I would just change the TCA from Inline to Select, but that's not possible in MASK - as far as I understand. 在Extbase扩展中,我只是将TCA从“内联”更改为“选择”,但是据我所知,这在MASK中是不可能的。

Not that I am aware. 并非我知道。 But as Mask basically generates native configuration such as TCA and TS you can always export it with the help of mask_export and end up with a standalone extension where you can change TCA according to your needs - thus as well switching from IRRE to multiselect. 但是由于Mask基本上会生成诸如TCA和TS之类的本机配置,因此您始终可以在mask_export的帮助下将其导出,并最终得到一个独立的扩展名,您可以在其中根据需要更改TCA-从而从IRRE切换到多选。 One done, you can install it in your project as you do with any other extension. 完成后,您可以像使用任何其他扩展程序一样将其安装在项目中。 You don't need mask on your production instance in that case. 在这种情况下,您不需要在生产实例上使用遮罩。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM