TempVolia Flexible Cotent Element (FCE)

  • typobock typobock
    Padawan
    0 x
    51 Beiträge
    0 Hilfreiche Beiträge
    30. 07. 2010, 12:08

    Nun weiß ich nicht ob ich hier mit diesem Post richtig bin oder das ganze in eine Newbie Frage gehört.

    Hier mein Problem ich habe nun ein FCE Element angelegt was ich auch so wie gewünscht befüllen läß. jetzt habe zwei Link Felder das eine soll ein ganz normaler Download sein was auch klappt das andere ein Link das via Lightbox auf gehen soll.

    Also war meine logische Überlegung das cih einfach nur das rel mit gehe als AtagParam aber jedoch will das nicht dann habe ich mir meine XML Struktur angeschaut und sehe bestimmt den Wald wieder mal nicht. Ein denk anstoss oder ne lösung wären wieder Weltfrieden.

    Hier meine XML der Datenstruktur

    1. <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
    2. <T3DataStructure>
    3. <meta type="array">
    4. <langDisable>1</langDisable>
    5. </meta>
    6. <ROOT type="array">
    7. <tx_templavoila type="array">
    8. <title>ROOT</title>
    9. <description>Wählen Sie das HTML-Element der Seite, das Sie als übergeordnetes Container-Element der Vorlage möchten.</description>
    10. </tx_templavoila>
    11. <type>array</type>
    12. <el type="array">
    13. <field_bild1 type="array">
    14. <tx_templavoila type="array">
    15. <title>Bild</title>
    16. <sample_data type="array">
    17. <numIndex index="0"></numIndex>
    18. </sample_data>
    19. <eType>imagefixed</eType>
    20. <tags>img</tags>
    21. <TypoScript>
    22. 10 = IMAGE
    23. 10.file.XY = 200,150
    24. 10.file.import = uploads/tx_templavoila/
    25. 10.file.import.current = 1
    26. 10.file.import.listNum = 0
    27. 10.file.maxW = 200
    28. 10.file.minW = 200
    29. 10.file.maxH = 150
    30. 10.file.minH = 150
    31. 10.stdWrap.typolink.parameter.field = field_link_down_url1
    32. 10.stdWrap.typolink.parameter.field = field_link_down_url1
    33.  
    34.  
    35. </TypoScript>
    36. <proc type="array">
    37. <int>0</int>
    38. <HSC type="integer">0</HSC>
    39. <stdWrap></stdWrap>
    40. </proc>
    41. <preview></preview>
    42. </tx_templavoila>
    43. <TCEforms type="array">
    44. <label>Bild</label>
    45. <config type="array">
    46. <type>group</type>
    47. <internal_type>file</internal_type>
    48. <allowed>gif,png,jpg,jpeg</allowed>
    49. <max_size>1000</max_size>
    50. <uploadfolder>uploads/tx_templavoila</uploadfolder>
    51. <show_thumbs>1</show_thumbs>
    52. <size>1</size>
    53. <maxitems>1</maxitems>
    54. <minitems>0</minitems>
    55. </config>
    56. </TCEforms>
    57. </field_bild1>
    58. <field_header1 type="array">
    59. <tx_templavoila type="array">
    60. <title>Header Überschrift</title>
    61. <sample_data type="array">
    62. <numIndex index="0"></numIndex>
    63. </sample_data>
    64. <eType>input</eType>
    65. <proc type="array">
    66. <int>0</int>
    67. <HSC>1</HSC>
    68. <stdWrap></stdWrap>
    69. </proc>
    70. <preview></preview>
    71. </tx_templavoila>
    72. <TCEforms type="array">
    73. <label>Header Überschrift</label>
    74. <config type="array">
    75. <type>input</type>
    76. <size>48</size>
    77. <eval>trim</eval>
    78. </config>
    79. </TCEforms>
    80. </field_header1>
    81. <field_description type="array">
    82. <tx_templavoila type="array">
    83. <title>Beschreibung </title>
    84. <sample_data type="array">
    85. <numIndex index="0"></numIndex>
    86. </sample_data>
    87. <eType>input</eType>
    88. <proc type="array">
    89. <int>0</int>
    90. <HSC>1</HSC>
    91. <stdWrap></stdWrap>
    92. </proc>
    93. <preview></preview>
    94. <TypoScript type="NULL"></TypoScript>
    95. </tx_templavoila>
    96. <TCEforms type="array">
    97. <label>Beschreibung </label>
    98. <config type="array">
    99. <type>input</type>
    100. <size>48</size>
    101. <eval>trim</eval>
    102. </config>
    103. </TCEforms>
    104. </field_description>
    105. <field_size1 type="array">
    106. <tx_templavoila type="array">
    107. <title>Datei Größe</title>
    108. <sample_data type="array">
    109. <numIndex index="0"></numIndex>
    110. </sample_data>
    111. <eType>input</eType>
    112. <proc type="array">
    113. <int>0</int>
    114. <HSC>1</HSC>
    115. <stdWrap></stdWrap>
    116. </proc>
    117. <preview></preview>
    118. <TypoScript type="NULL"></TypoScript>
    119. </tx_templavoila>
    120. <TCEforms type="array">
    121. <label>Datei Größe</label>
    122. <config type="array">
    123. <type>input</type>
    124. <size>48</size>
    125. <eval>trim</eval>
    126. </config>
    127. </TCEforms>
    128. </field_size1>
    129. <field_desc_sub type="array">
    130. <tx_templavoila type="array">
    131. <title>Kurze Beschreibung</title>
    132. <sample_data type="array">
    133. <numIndex index="0"></numIndex>
    134. </sample_data>
    135. <eType>input</eType>
    136. <proc type="array">
    137. <int>0</int>
    138. <HSC>1</HSC>
    139. <stdWrap></stdWrap>
    140. </proc>
    141. <preview></preview>
    142. <TypoScript type="NULL"></TypoScript>
    143. </tx_templavoila>
    144. <TCEforms type="array">
    145. <label>Kurze Beschreibung</label>
    146. <config type="array">
    147. <type>input</type>
    148. <size>48</size>
    149. <eval>trim</eval>
    150. </config>
    151. </TCEforms>
    152. </field_desc_sub>
    153. <field_download type="array">
    154. <tx_templavoila type="array">
    155. <title>Download Button TxT</title>
    156. <sample_data type="array">
    157. <numIndex index="0"></numIndex>
    158. </sample_data>
    159. <eType>input</eType>
    160. <tags>a:inner</tags>
    161. <proc type="array">
    162. <int>0</int>
    163. <HSC>1</HSC>
    164. <stdWrap></stdWrap>
    165. </proc>
    166. <preview></preview>
    167. <TypoScript type="NULL"></TypoScript>
    168. </tx_templavoila>
    169. <TCEforms type="array">
    170. <label>Download Button TxT</label>
    171. <config type="array">
    172. <type>input</type>
    173. <size>48</size>
    174. <eval>trim</eval>
    175. </config>
    176. </TCEforms>
    177. </field_download>
    178. <field_download_link1 type="array">
    179. <type>attr</type>
    180. <tx_templavoila type="array">
    181. <title>Download Link</title>
    182. <sample_data type="array">
    183. <numIndex index="0"></numIndex>
    184. </sample_data>
    185. <eType>link</eType>
    186. <tags>a:attr:href</tags>
    187. <TypoScript>
    188. 10 = TEXT
    189. 10.typolink.parameter.current = 1
    190. 10.typolink.returnLast = url</TypoScript>
    191. <proc type="array">
    192. <int>0</int>
    193. <HSC type="integer">1</HSC>
    194. <stdWrap></stdWrap>
    195. </proc>
    196. <preview></preview>
    197. </tx_templavoila>
    198. <TCEforms type="array">
    199. <label>Download Link</label>
    200. <config type="array">
    201. <type>input</type>
    202. <size>15</size>
    203. <max>256</max>
    204. <checkbox></checkbox>
    205. <eval>trim</eval>
    206. <wizards type="array">
    207. <_PADDING type="integer">2</_PADDING>
    208. <link type="array">
    209. <type>popup</type>
    210. <title>Link</title>
    211. <icon>link_popup.gif</icon>
    212. <script>browse_links.php?mode=wizard</script>
    213. <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
    214. </link>
    215. </wizards>
    216. </config>
    217. </TCEforms>
    218. </field_download_link1>
    219. <field_play_txt1 type="array">
    220. <tx_templavoila type="array">
    221. <title>Abspielen Text</title>
    222. <sample_data type="array">
    223. <numIndex index="0"></numIndex>
    224. </sample_data>
    225. <eType>input</eType>
    226. <tags>a:inner</tags>
    227. <TypoScript type="NULL"></TypoScript>
    228. <proc type="array">
    229. <int>0</int>
    230. <HSC>1</HSC>
    231. <stdWrap></stdWrap>
    232. </proc>
    233. <preview></preview>
    234. </tx_templavoila>
    235. <TCEforms type="array">
    236. <label>Abspielen Text</label>
    237. <config type="array">
    238. <type>input</type>
    239. <size>48</size>
    240. <eval>trim</eval>
    241. </config>
    242. </TCEforms>
    243. </field_play_txt1>
    244. <field_play_link1 type="array">
    245. <type>attr</type>
    246. <tx_templavoila type="array">
    247. <title>Link zum Abspielen der Datei</title>
    248. <sample_data type="array">
    249. <numIndex index="0"></numIndex>
    250. </sample_data>
    251. <eType>link</eType>
    252. <tags>a:attr:href</tags>
    253. <proc type="array">
    254. <int>0</int>
    255. <HSC>1</HSC>
    256. <stdWrap></stdWrap>
    257. </proc>
    258. <preview></preview>
    259. <TypoScript>10 = TEXT
    260. 10.typolink.parameter.current = 1
    261. 10.typolink.returnLast = url</TypoScript>
    262. </tx_templavoila>
    263. <TCEforms type="array">
    264. <label>Link zum Abspielen der Datei</label>
    265. <config type="array">
    266. <type>input</type>
    267. <size>15</size>
    268. <max>256</max>
    269. <checkbox></checkbox>
    270. <eval>trim</eval>
    271. <wizards type="array">
    272. <_PADDING type="integer">2</_PADDING>
    273. <link type="array">
    274. <type>popup</type>
    275. <title>Link</title>
    276. <icon>link_popup.gif</icon>
    277. <script>browse_links.php?mode=wizard</script>
    278. <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
    279. </link>
    280. </wizards>
    281. </config>
    282. </TCEforms>
    283. </field_play_link1>
    284. </el>
    285. </ROOT>
    286. </T3DataStructure>
    287. <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
    288. <T3DataStructure>
    289. <meta type="array">
    290. <langDisable>1</langDisable>
    291. </meta>
    292. <ROOT type="array">
    293. <tx_templavoila type="array">
    294. <title>ROOT</title>
    295. <description>Wählen Sie das HTML-Element der Seite, das Sie als übergeordnetes Container-Element der Vorlage möchten.</description>
    296. </tx_templavoila>
    297. <type>array</type>
    298. <el type="array">
    299. <field_bild1 type="array">
    300. <tx_templavoila type="array">
    301. <title>Bild</title>
    302. <sample_data type="array">
    303. <numIndex index="0"></numIndex>
    304. </sample_data>
    305. <eType>imagefixed</eType>
    306. <tags>img</tags>
    307. <TypoScript>
    308. 10 = IMAGE
    309. 10.file.XY = 200,150
    310. 10.file.import = uploads/tx_templavoila/
    311. 10.file.import.current = 1
    312. 10.file.import.listNum = 0
    313. 10.file.maxW = 200
    314. 10.file.minW = 200
    315. 10.file.maxH = 150
    316. 10.file.minH = 150
    317. 10.stdWrap.typolink.parameter.field = field_link_down_url1
    318. 10.stdWrap.typolink.parameter.field = field_link_down_url1
    319.  
    320.  
    321. </TypoScript>
    322. <proc type="array">
    323. <int>0</int>
    324. <HSC type="integer">0</HSC>
    325. <stdWrap></stdWrap>
    326. </proc>
    327. <preview></preview>
    328. </tx_templavoila>
    329. <TCEforms type="array">
    330. <label>Bild</label>
    331. <config type="array">
    332. <type>group</type>
    333. <internal_type>file</internal_type>
    334. <allowed>gif,png,jpg,jpeg</allowed>
    335. <max_size>1000</max_size>
    336. <uploadfolder>uploads/tx_templavoila</uploadfolder>
    337. <show_thumbs>1</show_thumbs>
    338. <size>1</size>
    339. <maxitems>1</maxitems>
    340. <minitems>0</minitems>
    341. </config>
    342. </TCEforms>
    343. </field_bild1>
    344. <field_header1 type="array">
    345. <tx_templavoila type="array">
    346. <title>Header Überschrift</title>
    347. <sample_data type="array">
    348. <numIndex index="0"></numIndex>
    349. </sample_data>
    350. <eType>input</eType>
    351. <proc type="array">
    352. <int>0</int>
    353. <HSC>1</HSC>
    354. <stdWrap></stdWrap>
    355. </proc>
    356. <preview></preview>
    357. </tx_templavoila>
    358. <TCEforms type="array">
    359. <label>Header Überschrift</label>
    360. <config type="array">
    361. <type>input</type>
    362. <size>48</size>
    363. <eval>trim</eval>
    364. </config>
    365. </TCEforms>
    366. </field_header1>
    367. <field_description type="array">
    368. <tx_templavoila type="array">
    369. <title>Beschreibung </title>
    370. <sample_data type="array">
    371. <numIndex index="0"></numIndex>
    372. </sample_data>
    373. <eType>input</eType>
    374. <proc type="array">
    375. <int>0</int>
    376. <HSC>1</HSC>
    377. <stdWrap></stdWrap>
    378. </proc>
    379. <preview></preview>
    380. <TypoScript type="NULL"></TypoScript>
    381. </tx_templavoila>
    382. <TCEforms type="array">
    383. <label>Beschreibung </label>
    384. <config type="array">
    385. <type>input</type>
    386. <size>48</size>
    387. <eval>trim</eval>
    388. </config>
    389. </TCEforms>
    390. </field_description>
    391. <field_size1 type="array">
    392. <tx_templavoila type="array">
    393. <title>Datei Größe</title>
    394. <sample_data type="array">
    395. <numIndex index="0"></numIndex>
    396. </sample_data>
    397. <eType>input</eType>
    398. <proc type="array">
    399. <int>0</int>
    400. <HSC>1</HSC>
    401. <stdWrap></stdWrap>
    402. </proc>
    403. <preview></preview>
    404. <TypoScript type="NULL"></TypoScript>
    405. </tx_templavoila>
    406. <TCEforms type="array">
    407. <label>Datei Größe</label>
    408. <config type="array">
    409. <type>input</type>
    410. <size>48</size>
    411. <eval>trim</eval>
    412. </config>
    413. </TCEforms>
    414. </field_size1>
    415. <field_desc_sub type="array">
    416. <tx_templavoila type="array">
    417. <title>Kurze Beschreibung</title>
    418. <sample_data type="array">
    419. <numIndex index="0"></numIndex>
    420. </sample_data>
    421. <eType>input</eType>
    422. <proc type="array">
    423. <int>0</int>
    424. <HSC>1</HSC>
    425. <stdWrap></stdWrap>
    426. </proc>
    427. <preview></preview>
    428. <TypoScript type="NULL"></TypoScript>
    429. </tx_templavoila>
    430. <TCEforms type="array">
    431. <label>Kurze Beschreibung</label>
    432. <config type="array">
    433. <type>input</type>
    434. <size>48</size>
    435. <eval>trim</eval>
    436. </config>
    437. </TCEforms>
    438. </field_desc_sub>
    439. <field_download type="array">
    440. <tx_templavoila type="array">
    441. <title>Download Button TxT</title>
    442. <sample_data type="array">
    443. <numIndex index="0"></numIndex>
    444. </sample_data>
    445. <eType>input</eType>
    446. <tags>a:inner</tags>
    447. <proc type="array">
    448. <int>0</int>
    449. <HSC>1</HSC>
    450. <stdWrap></stdWrap>
    451. </proc>
    452. <preview></preview>
    453. <TypoScript type="NULL"></TypoScript>
    454. </tx_templavoila>
    455. <TCEforms type="array">
    456. <label>Download Button TxT</label>
    457. <config type="array">
    458. <type>input</type>
    459. <size>48</size>
    460. <eval>trim</eval>
    461. </config>
    462. </TCEforms>
    463. </field_download>
    464. <field_download_link1 type="array">
    465. <type>attr</type>
    466. <tx_templavoila type="array">
    467. <title>Download Link</title>
    468. <sample_data type="array">
    469. <numIndex index="0"></numIndex>
    470. </sample_data>
    471. <eType>link</eType>
    472. <tags>a:attr:href</tags>
    473. <TypoScript>
    474. 10 = TEXT
    475. 10.typolink.parameter.current = 1
    476. 10.typolink.returnLast = url</TypoScript>
    477. <proc type="array">
    478. <int>0</int>
    479. <HSC type="integer">1</HSC>
    480. <stdWrap></stdWrap>
    481. </proc>
    482. <preview></preview>
    483. </tx_templavoila>
    484. <TCEforms type="array">
    485. <label>Download Link</label>
    486. <config type="array">
    487. <type>input</type>
    488. <size>15</size>
    489. <max>256</max>
    490. <checkbox></checkbox>
    491. <eval>trim</eval>
    492. <wizards type="array">
    493. <_PADDING type="integer">2</_PADDING>
    494. <link type="array">
    495. <type>popup</type>
    496. <title>Link</title>
    497. <icon>link_popup.gif</icon>
    498. <script>browse_links.php?mode=wizard</script>
    499. <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
    500. </link>
    501. </wizards>
    502. </config>
    503. </TCEforms>
    504. </field_download_link1>
    505. <field_play_txt1 type="array">
    506. <tx_templavoila type="array">
    507. <title>Abspielen Text</title>
    508. <sample_data type="array">
    509. <numIndex index="0"></numIndex>
    510. </sample_data>
    511. <eType>input</eType>
    512. <tags>a:inner</tags>
    513. <TypoScript type="NULL"></TypoScript>
    514. <proc type="array">
    515. <int>0</int>
    516. <HSC>1</HSC>
    517. <stdWrap></stdWrap>
    518. </proc>
    519. <preview></preview>
    520. </tx_templavoila>
    521. <TCEforms type="array">
    522. <label>Abspielen Text</label>
    523. <config type="array">
    524. <type>input</type>
    525. <size>48</size>
    526. <eval>trim</eval>
    527. </config>
    528. </TCEforms>
    529. </field_play_txt1>
    530. <field_play_link1 type="array">
    531. <type>attr</type>
    532. <tx_templavoila type="array">
    533. <title>Link zum Abspielen der Datei</title>
    534. <sample_data type="array">
    535. <numIndex index="0"></numIndex>
    536. </sample_data>
    537. <eType>link</eType>
    538. <tags>a:attr:href</tags>
    539. <proc type="array">
    540. <int>0</int>
    541. <HSC>1</HSC>
    542. <stdWrap></stdWrap>
    543. </proc>
    544. <preview></preview>
    545. <TypoScript>10 = TEXT
    546. 10.typolink.parameter.current = 1
    547. 10.typolink.returnLast = url</TypoScript>
    548. </tx_templavoila>
    549. <TCEforms type="array">
    550. <label>Link zum Abspielen der Datei</label>
    551. <config type="array">
    552. <type>input</type>
    553. <size>15</size>
    554. <max>256</max>
    555. <checkbox></checkbox>
    556. <eval>trim</eval>
    557. <wizards type="array">
    558. <_PADDING type="integer">2</_PADDING>
    559. <link type="array">
    560. <type>popup</type>
    561. <title>Link</title>
    562. <icon>link_popup.gif</icon>
    563. <script>browse_links.php?mode=wizard</script>
    564. <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
    565. </link>
    566. </wizards>
    567. </config>
    568. </TCEforms>
    569. </field_play_link1>
    570. </el>
    571. </ROOT>

    Anhänge (1)
    Bild 5.png image/png 41,79 KiB 57 heruntergeladen

  • 1
  • typobock typobock
    Padawan
    0 x
    51 Beiträge
    0 Hilfreiche Beiträge
    03. 08. 2010, 08:00

    weiß niemand eine Lösung für dieses Problem?

  • typobock typobock
    Padawan
    0 x
    51 Beiträge
    0 Hilfreiche Beiträge
    05. 08. 2010, 11:38

    Hab es nun von
    Typoscript-Code:
    10 = TEXT
    10.typolink.parameter.current = 1
    10.typolink.returnLast = url

    in

    10 = TEXT
    10.typolink.parameter.current = 1
    10.typolink.returnLast = url
    10.typolink.ATagParams = rel="lightbox"
    10.typolink.ATagParams.override = rel="lightbox[sb{field:uid}]"

    jedoch Ohne Erfolg

  • 1