Ergebnis 1 bis 5 von 5

Thema: Invalid template values in 1 elements:

      
  1. #1
    Forum Zuschauer
    Registriert seit
    10.02.2011
    Beiträge
    3

    Invalid template values in 1 elements:

    Hi,
    hab mir jetzt schon echt einen Wolf gesucht und ich bekomm es nicht hin.
    Arbeite mit Typo3 4.5 LTS
    Versuche gerade ein ganz einfaches HTML Template mit TV zu mappen und es kommt immer der Fehler
    Invalid template values in 1 elements:
    Leider gibt es keine weiteren Details Infos... auch nicht im Error Tab. Und die Tipps im Netz haben mich auch nicht weitergebracht...
    Hab jetzt wirklich keine Ahnung mehr was ich noch anders machen soll.

    Mein HTML Template sieht wie folgt aus:
    Code:
    <html>
    <head>
    <title>Beschreibung der Seite</title>
    </head>
    <body>
    <div id="nav">
      <ul>
    	<li>level1</li>
    	<li>level1
    		<ul>
    			<li>level2</li>
    		</ul>
    	</li>
    	</ul>
    </div>
    
    <div id="content">
    <h1>asdfafs</h1>
    <p>test</p>
    </div>
    
    </body>
    </html>
    Das ist eine art minimal Testcase. Wobei ich eben nav und content entsprechend mappe.
    Hier ein Screenshot von der entsprechenden TV Seite http://www.zumodrive.com/share/arCnMmU0NG

    Hoffentlich hat mir jemand ein Tipp.

    Code:
    <T3DataStructure>
    <meta type="array">
    <langChildren type="integer">1</langChildren>
    <langDisable type="integer">1</langDisable>
    </meta>
        <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>
                <tags>body</tags>
            </tx_templavoila>
            <type>array</type>
            <el type="array">
                <field_content type="array">
                    <tx_templavoila type="array">
                        <title>Main Content Area</title>
                        <description>Pick the HTML element in the template where you want to place the main content of the site.</description>
                        <sample_data type="array">
                            <numIndex index="0">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque porta erat vitae nisl. In hac habitasse platea dictumst. Aliquam ac urna. Morbi magna mauris, semper ut, varius in, convallis vitae, nulla. Proin massa lorem, mollis eget, rutrum vitae, commodo id, risus. Curabitur scelerisque risus eget odio. Proin laoreet blandit elit. Aenean varius, sapien laoreet dapibus volutpat, risus lorem ornare wisi, lobortis venenatis nisl augue sed purus. Nam suscipit viverra justo. Suspendisse tincidunt. Nullam vel quam.</numIndex>
                        </sample_data>
                        <eType>ce</eType>
                        <tags>table:outer,td:inner,div:inner,p,h1,h2,h3,h4,h5</tags>
                        <oldStyleColumnNumber>0</oldStyleColumnNumber>
                        <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>Main Content Area</label>
                    </TCEforms>
                </field_content>
                <field_menu type="array">
                    <tx_templavoila type="array">
                        <title>Main menu</title>
                        <description>Pick the HTML container element where you want the automatically made menu items to be placed.</description>
                        <sample_data type="array">
                            <numIndex index="0">[Menu goes here]</numIndex>
                        </sample_data>
                        <eType>TypoScriptObject</eType>
                        <tags>table:inner,ul,div,tr,td</tags>
                        <eType_EXTRA type="array">
                            <objPath>lib.mainMenu</objPath>
                        </eType_EXTRA>
                        <TypoScriptObjPath>lib.mainMenu</TypoScriptObjPath>
                    </tx_templavoila>
                </field_menu>
                <field_submenu type="array">
                    <tx_templavoila type="array">
                        <title>Sub menu (if any)</title>
                        <description>Pick the HTML container element where you want the automatically made submenu items to be placed.</description>
                        <sample_data type="array">
                            <numIndex index="0">[Menu goes here]</numIndex>
                        </sample_data>
                        <eType>TypoScriptObject</eType>
                        <tags>table:inner,ul,div,tr,td</tags>
                        <eType_EXTRA type="array">
                            <objPath>lib.subMenu</objPath>
                        </eType_EXTRA>
                        <TypoScriptObjPath>lib.subMenu</TypoScriptObjPath>
                    </tx_templavoila>
                </field_submenu>
            </el>
        </ROOT>
    </T3DataStructure>

    Grüße
    Manuel

  2. #2
    Forum Freak
    Registriert seit
    01.07.2009
    Alter
    27
    Beiträge
    622
    nimm mal alles bis zum body tag weg... und mappe deinen body tag als start/body vom mapping.

    Ist ja nicht nötig da sich Typo3 um (fast) alles bis zum body tag kümmert wenn du das TV snippet mit der page = PAGE zuweisung machst auf die TV mail function.

    Ich glaube das könnte das Problem sein.

  3. #3
    Forum Zuschauer
    Registriert seit
    10.02.2011
    Beiträge
    3
    Das bringt leider auch nichts.
    Ich bekomm den Fehler einfach nicht weg.
    Hab jetzt schon zum 5. mal from scratch gestartet und es gibt immer diesen Fehler.

  4. #4
    Forum Freak
    Registriert seit
    01.07.2009
    Alter
    27
    Beiträge
    622
    google sagt lösch mal diese zeile im DS:

    <langDisable type="integer">1</langDisable>

  5. #5
    Forum Zuschauer
    Registriert seit
    10.02.2011
    Beiträge
    3
    Okay Jungs ich konnte es lösen.
    Bin davon ausgegangen, dass bei einem Typo3 Update auch die TV extension aktualisiert wird.
    Das war allerdings nicht der Fall.

    Mit der aktuellen extension flutscht es jetzt endlich.

    So ist es halt wenn man nur alle paar Monate mit T3 arbeitet...man übersieht gerne mal wesentliches.

 

 

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Facebook Kommentare

Ähnliche Themen

  1. Invalid template values in 1 elements
    Von fragolina im Forum TemplaVoila
    Antworten: 1
    Letzter Beitrag: 17.09.2010, 16:11
  2. Content wird nicht angezeigt
    Von TIGER im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 2
    Letzter Beitrag: 30.07.2010, 14:58
  3. Fehler im Template Setup
    Von michi23 im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 10
    Letzter Beitrag: 24.07.2009, 07:55
  4. Modern Template Building, Part 1: weisse Seite :-(
    Von 99gnome im Forum TYPO3 3.x Fragen und Probleme
    Antworten: 0
    Letzter Beitrag: 08.03.2006, 11:10
  5. Submenu anpassen / Menuelemente verschwinden
    Von zefix im Forum GMENU, HMENU, TMENU und Co.
    Antworten: 14
    Letzter Beitrag: 18.07.2005, 12:21

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238