Logo der TYPO3 Usergruppe Leipzig

Ausgabe Änderungsdatum/-zeit eines FCE

Seit der Templavoila-Version 1.1.0 kann auf die Felder des Eltern-Datensatzes (parentRec) per register:tx_templavoila_pi1.parentRec zugegriffen werden, also auf alle Felder der tt_content-Tabelle.

Z. B. tx_templavoila_pi1.parentRec.uid gibt die Nummer des Inhaltselements aus.

 

Dadurch lässt sich auch das Änderungsdatum/Uhrzeit des FCE anzeigen, indem man folgendes als Feld in die XML-Struktur des FCE einträgt (mappen nicht vergessen):

 

Ausgabe Änderungsdatum/-zeit eines FCE
  1. <field_updated type="array">
  2. <tx_templavoila type="array">
  3. <title>updated</title>
  4. <sample_data type="array">
  5. <numIndex index="0"></numIndex>
  6. </sample_data>
  7. <eType>input</eType>
  8. <TypoScript><![CDATA[
  9. 10 = TEXT
  10. 10.data = register:tx_templavoila_pi1.parentRec.tstamp
  11. 10.strftime = %e. %B %Y %H:%M
  12. 10.wrap = zuletzt geändert: |
  13. ]]></TypoScript>
  14. </tx_templavoila>
  15. </field_updated>
Autor: Falko Trojahn

TUGLE TERMINE

das nächste TYPO3-Usergruppentreffen findet am 30.05.2011 um 19:00 Uhr im Horns-Erben...
Das erste TUGLE-Treffen 2011 findet am Montag, den 07.03.2011 um 19:00 Uhr in...
Wie gestern auf dem interessanten TUGLE-Treffen besprochen, treffen wir uns nächstes Mal bei...

TYPO3 NEWS

After an exciting 2011 we have meanwhile completed the first month of 2012. Just like probably everyone else we have some ideas for doing things better than in the past, and this includes...
The organizational structure of the TYPO3 Association isn't a proper fit anymore to the TYPO3 project's own internal structure, nor does it fit the size the project has become over time. A need for...
Security vulnerabilities have been discovered in third-party TYPO3 extensions: css_filelinks, terminal, beuserswitch, rtg_files, irfaq, skt_eurocalc, jftcaforms, bc_post2facebook, aeurltool,...