Zum Inhalt springen

<div id=

Erstellt am 27. Mai 2005 · 3 Antworten · letzte Antwort am 27. August 2005

Tags: Frage

denny ·

hi,

ich habe mein TV soweit zum laufen bekommen, doch mir gelingt es nicht, ein verschachteltes Div, das sich in einer Box befindet unterhalb einer Navigation, einzubinden.

So sieht es normal aus:

Bild: denny-schierz.de/…/tv-uebersicht.jpeg

Und nun nachdem mappen der Toolbox:

Bild: denny-schierz.de/…/tv-uebersicht1.jpeg

Mein HTML Template, findet sich hier:

http://git-source.org/fileadmin/template/denny/index2.htm

Wie muss ich das Menu und meine Toolbox mappen?

Der XML Code, sieht so aus:

<t3datastructure>
    <root type="array">
        <tx_templavoila type="array">
            <title>ROOT</title>
            <description>Select the HTML element on the page which you want to be the overall container element for the template.</description>
        </tx_templavoila>
        <type>array</type>
        <el type="array">
            <field_menu type="array">
                <tx_templavoila type="array">
                    <title>Main Menu</title>
                    <sample_data type="array">
                        <numindex index="0">Menu Menu Menu</numindex>
                    </sample_data>
                    <etype>TypoScriptObject</etype>
                    <tags>*:inner</tags>
                    <typoscriptobjpath>lib.myObject</typoscriptobjpath>
                </tx_templavoila>
            </field_menu>
            <field_content type="array">
                <tx_templavoila type="array">
                    <title>Content</title>
                    <sample_data type="array">
                        <numindex index="0">content Content content</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>Content</label>
                </tceforms>
            </field_content>
            <field_shortnews type="array">
                <tx_templavoila type="array">
                    <title>Content Col right</title>
                    <sample_data type="array">
                        <numindex index="0">Content right, Content right</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>Content Col right</label>
                </tceforms>
            </field_shortnews>
            <field_toolbox type="array">
                <tx_templavoila type="array">
                    <title>Toolbox in left col</title>
                    <sample_data type="array">
                        <numindex index="0">Toolbox</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>Toolbox in left col</label>
                </tceforms>
            </field_toolbox>
        </el>
    </root>
</t3datastructure>

ps. sorry für den Betreff, das Board hat da was gelöscht.

Stoneage ·

Hallo,

das geht sowieso nicht, weil Du den Tag an ein Element (EL) Objekt gemappt hast. Alles was innerhalb eines EL-Objektes liegt wird von TV ersetzt - so auch die Toolbox. Das musst Du irgendwie anders machen.

Gruß,

T.

anj ·

Hi!

Du kannst deine Divbox wahrscheinlich nicht mappen weil der html code falsch ist... so war das bei mir zumindist.

Am besten ist es wenn du den Firefox zusammen mit der Extension HTML Validator (Based on Tidy) nutzt ... damit solltest du den Fehler schnell finden, falls du einen hast.

Zu den Menüs: schau mal hier (weiter unten):

#28601