简体   繁体   English

更改掩码的后端视图 - TYPO3

[英]Change the backend-view of mask - TYPO3

I try - in TYPO3 8.7.13 with the extension mask 3.1.0 - to build for example a CE with repeating records with fields for names - no problem.我尝试 - 在带有扩展掩码 3.1.0 的 TYPO3 8.7.13 中 - 构建例如带有重复记录和名称字段的 CE - 没问题。

But in the backend I can see only the first field.但是在后端我只能看到第一个字段。 Is there any way to show both?有没有办法同时显示两者? https://www.dropbox.com/s/rmsg5qfd51blhrf/mask1.png?dl=0 https://www.dropbox.com/s/rmsg5qfd51blhrf/mask1.png?dl=0

So there are preview templates they belong to the page view and not edit.所以有预览模板它们属于页面视图而不是编辑。
In edit mode you only see the label (this is given in the definition of IRRE in the TYPO3 core).在编辑模式下,您只能看到标签(这在 TYPO3 内核中的 IRRE 定义中给出)。
So you only can change the shown 'label' of the record.因此,您只能更改记录的显示“标签”。 That means: using label_alt in the TCA (I recommend to use label_alt_force too):这意味着: 在 TCA 中使用label_alt (我也建议使用label_alt_force ):

'ctrl' => [
    'label' => 'surname',
    'label_alt' => 'givenname,surname',
    'label_alt_force' => 1,
],

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

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