Entweder hat noch niemand gemacht oder das Prob ist so trivial... #angry#
Ich habe ein Formular in das ich, je nachdem wo ich es verwende, den jew. Seitentitel automatisch eintragen möchte.
Wie ich den Seitentitel grunsätzlich auslese und ausgebe ist klar
marks.TITLE = TEXT
marks.TITLE.field = title
Wenn ich folgendes aber in Formular eingebe geht da rein gar nichts
plugin.tx_thmailformplus_pi1.markers.value_Bla = TEXT
plugin.tx_thmailformplus_pi1.markers.value_Bla.field = title
wärend das hier wieder geht
plugin.tx_thmailformplus_pi1.markers.value_Bla = TEXT
plugin.tx_thmailformplus_pi1.markers.value_Bla.value = Dideldumm
Hat bitte jemand einen Tipp wo meine Barriere liegt?
Gedacht war zur Anmeldung für eine Reise. Ich erstelle also die Seite für die Reisebeschreibung und entsprechend den Titel z. B. "Berlinreise". In dem auch für andere Reisen gültige Kontaktformular steht nun "Anmeldung zur Berlinreise". Diesen Wert möchte ich dann auch übergeben.
Hat hier keiner einen Tipp?
jaja mach es doch so:
plugin.tx_thmailformplus_pi1.markers.value_Bla = TEXT
plugin.tx_thmailformplus_pi1.markers.value_Bla.data = page:title
Ich glaube, das liegt daran, da das plugin nicht in der tabelle tt_content arbeitet.
Hi crush,
mercy für die Antwort.
plugin.tx_thmailformplus_pi1.markers.value_Bla = TEXT
plugin.tx_thmailformplus_pi1.markers.value_Bla.data = page:title
Das wars leider auch nicht ganz (da wird auch nix gefüllt), sondern die Kombination machts aus.
Man muss dem markers.value_Bla ein vorher definiertes temp Objekt zuweisen, dann funkt das wunderbär
temp.BLA = TEXT
temp.BLA.data = page:title
plugin.tx_thmailformplus_pi1.markers.value_Bla < temp.BLA
Danke für deinen Denkanstoss page:title - ohne den wärs ned gangen