我試圖在我的fluidpage擴展中添加一個部分。聯邦液壓頁面中的部分
<f:section name="Configuration">
<flux:flexform id="default" label="Gallery Page" icon="{f:uri.resource(path: 'Icons/DefaultPage.png')}">
<flux:flexform.section name="images">
<flux:flexform.field.file name="ls" label="Landscape image" maxItems="1" minItems="1" required="1" showThumbnails="1" />
<flux:flexform.field.select name="lsAlign" label="Alignment of the landscape image" items="left,right" />
<flux:flexform.field.file name="pt" label="Portrait image" maxItems="1" minItems="1" required="1" showThumbnails="1" />
<flux:flexform.field.select name="ptAlign" label="Alignment of the portrait image" items="left,right" />
</flux:flexform.section>
<flux:flexform.grid>
<flux:flexform.grid.row>
<flux:flexform.grid.column colPos="0" name="Main Content" />
</flux:flexform.grid.row>
<flux:flexform.grid.row>
<flux:flexform.grid.column colPos="1" name="Gallery Images" />
</flux:flexform.grid.row>
</flux:flexform.grid>
</flux:flexform>
</f:section>
如果我嘗試這個,如果我嘗試打開頂部打開的頁面屬性,後端保持空白。只要我刪除部分一切都很好。還試圖把一個felexform.object周圍的區域內部
<flux:flexform.section name="images" label="images">
<flux:flexform.object name="imageObject" label="image object">
<flux:flexform.field.file name="ls" label="Landscape image" maxItems="1" minItems="0" required="0"
showThumbnails="1"/>
<flux:flexform.field.select name="lsAlign" label="Alignment of the landscape image"
items="left,right"/>
<flux:flexform.field.file name="pt" label="Portrait image" maxItems="1" minItems="0" required="0"
showThumbnails="1"/>
<flux:flexform.field.select name="ptAlign" label="Alignment of the portrait image"
items="left,right"/>
</flux:flexform.object>
</flux:flexform.section>
也沒有運氣這是。
馬庫斯
嗨克勞斯,遺憾的困惑 - 我說的是磁通':flexform.section'和我使用的是最新的6.2 TYPO3-dev的。在此期間它更清晰一點。問題與子頁面有關。我會仔細看看,然後回到你身邊。 –
嗨克勞斯,我現在可以重現該問題:我有兩個頁面模板。默認(不使用flexform.section)和Gallery(使用flexform.section)。如果我告訴我的根頁面使用圖庫模板並將子頁面也設置爲使用圖庫模板,我無法編輯子頁面的頁面屬性。如果我告訴根頁面使用Default模板和子頁面來使用Gallery模板,那麼一切正常。如果頁面和子頁面使用「部分」模板,則會出現問題。 –