typo3助焊剂选择多个页面建议向导 [英] typo3 flux select multiple pages suggest wizard
问题描述
< flux:field.input name ="pages">< flux:wizard.link label =选择链接" activeTab ="pages"/></flux:field.input>
与此相关,我可以选择一页.但是如何选择多个页面,就像在Menu-Content-Items上所做的那样.
with this I can select ONE page. But how can I select MULTIPLE pages, like it is done at the Menu-Content-Items.
尝试过的:field.select-需要一个适当的项目.field.relation我也没有成功.
tryed: field.select -needs an item-propery. field.relation I did not succeed, too.
感谢您的帮助,
基督徒.
编辑:这是我目前正在尝试的操作
Edit: This is what I'm currently trying:
<flux:field.relation
name="settings.relationtest"
label="relationtest"
multiple="true"
size="6"
minItems="0"
maxItems="30"
renderMode="singlebox"
foreignTableField="pages"
>
<flux:wizard.suggest
label="NULL"
hideParent="0"
pidDepth=""
minimumCharacters="1"
searchWholePhrase="0"
table="pages"/>
</flux:field.relation>
推荐答案
遇到相同的问题,并使用不同的viewhelper进行了很多尝试. flux:field.relation 似乎是解决此问题的正确方法.我使用了一个非常简单的代码段:
Had the same problem and tried a lot with different viewhelpers. flux:field.relation seems the right solution for this one. I use a quite simple snippet:
<flux:field.relation label="Auswahl der Seiten" table="pages" size="6" multiple="true" minItems="0" maxItems="30" name="parentpages">
<flux:wizard.suggest />
</flux:field.relation>
选择多个页面效果很好.
Selecting multiple pages works fine.
也许您的问题出在flux.wizard.suggest(链接).
Perhaps your problem came from setting the 'table' parameter on flux.wizard.suggest (Link).
这篇关于typo3助焊剂选择多个页面建议向导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!