Hallo Georg,
ich habe jetzt aus der Datei pi1/static/setup.txt den export_xml Bereich in mein Template kopiert:
Typoscript-Code:
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:
| plugin.tx_rggooglemap_pi1 { templateFile = fileadmin/templates/rggooglemap.html export_xml > export_xml = PAGE export_xml { typeNum=500 config.disableAllHeaderCode = 1 config.metaCharset = utf-8 config.additionalHeaders = Content-Type:text/xml;charset=utf-8 config.xhtml_cleaning = 0 config.admPanel = 0 config.sendNoCacheHeaders = 1 config.no_cache = 1 10 = CONTENT 10 { table = tt_content select { pidInList = this max = 1 andWhere = list_type='rggooglemap_pi1' } renderObj = COA renderObj { 10 < plugin.tx_rggooglemap_pi1 10.userFunc = tx_rggooglemap_pi1->xmlFunc } } } } |
Leider tuts das so immer noch nicht. Ich konnte im Wiki auch nichts finden, wo die Funktion von export_xml erklärt ist. Kannst du mir da bitte nochmal weiterhelfen?
Gruß
Peter