Hallo zusammen
habe folgendes Problem:
Im Frontend erstellte Inhaltselemente werden korrekt angelegt, aber keiner Inhaltsspalte in Templavoila zugeordnet.
Dadurch erscheinen sie natürlich auch nicht auf der Seite.
Vermutung:
Es liegt an dieser Zeile (im Setup).
newRecordFromTable = tt_content
Ich vermute das ich weitere Argumente angeben muss, damit der Inhalt korrekt angelegt wird.
In tt_content konnte ich kein Feld finden das die Einträge einem Bereich von Templavoila zuordnet.
(Das nächste Problem wird dann vermutlich sein, dass die Seite zweisprachig aufgebaut ist, und dass die erstellten Inhalte auch gleich einer Sprache zugeordnet werden müssen.)
Frage:
Kann mir jemand sagen welche Argumente ich übergeben muss, und wie ich das mache?
Unsere Seite ist mit Templavoila (0.4.0) umgesetzt und besitzt 3 Inhaltsspalten.
Für FE Edit verwende ich die Ext. Simulatebe (1.0.0)
Diese Konfiguration funktioniert so lange man Inhaltselemente über Templavoila im BE anlegt.
Weitere Daten:
Setup (Auszug):
# Adminpanel Left
lib.adm_l = EDITPANEL
lib.adm_l {
allow = new, edit, hide, move, delete
newRecordFromTable = tt_content
line = 0
label = Inhalt anlegen
}
# Adminpanel Middle
lib.adm_m = EDITPANEL
lib.adm_m {
allow = new, edit, hide, move, delete
newRecordFromTable = tt_content
line = 0
label = Inhalt anlegen
}
# Adminpanel Right
lib.adm_r = EDITPANEL
lib.adm_r {
allow = new, edit, hide, move, delete
newRecordFromTable = tt_content
line = 0
label = Inhalt anlegen
}
Datastructure (Auszug):
<field_content_left type="array">
<tx_templavoila type="array">
<title>Page Content Left</title>
<description>Map this to the container element for the page content left</description>
<sample_data type="array">
<numindex index="0">[Here goes the left column...]</numindex>
</sample_data>
<etype>ce</etype>
<typoscript>
10= RECORDS
10.source.current=1
10.tables = tt_content
</typoscript>
</tx_templavoila>
<tceforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal
_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>Page content Left</label>
</tceforms>
</field_content_left>
<field_content_middle type="array">
<tx_templavoila type="array">
<title>Page Content Middle</title>
<description>Map this to the container element for the page content middle</description>
<sample_data type="array">
<numindex index="0">[Here goes the middle column...]</numindex>
</sample_data>
<etype>ce</etype>
<typoscript>
10= RECORDS
10.source.current=1
10.tables = tt_content
</typoscript>
</tx_templavoila>
<tceforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>Page content Middle</label>
</tceforms>
</field_content_middle>
<field_content_right type="array">
<tx_templavoila type="array">
<title>Page Content Right</title>
<description>Map this to the container element for the page content right</description>
<sample_data type="array">
<numindex index="0">[Here goes the right column...]</numindex>
</sample_data>
<etype>ce</etype>
<typoscript>
10= RECORDS
10.source.current=1
10.tables = tt_content
</typoscript>
</tx_templavoila>
<tceforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>Page content Right</label>
</tceforms>
</field_content_right>[/]