[TYPO3-german] Typoscript DB Abfrage mit join

Andreas Freund andfriend23 at gmail.com
Wed Jun 4 17:58:27 CEST 2014


Hallo Typo3-Experten,

ich versuche per Typoscript eine Datenbankabfrage zu starten komme aber zu
keinem Ergebnis. Die Abfrage sollte in folgendem resulitieren:
SELECT email FROM `tx_jobs_job_contacts_mm` LEFT JOIN
tx_contacts_domain_model_contact AS contact ON contact.uid =
tx_jobs_job_contacts_mm.uid_foreign WHERE uid_local = 149

recipient = CONTENT
recipient {
  table = tx_contacts_domain_model_contact
  select {
    pidInList = 420
    where = uid_local = 149
    join = tx_contacts_domain_model_contact ON
tx_contacts_domain_model_contact.uid = tx_jobs_job_contacts_mm.uid_foreign
  }

  renderObj=COA
  renderObj{
   5 = TEXT
   5 {
     wrap=|
     field=email
   }
  }
}


page.199 < recipient

Da bekomme ich aber leider kein Ergebnis. Was mache ich hier falsch (typo3
4.7.17)?
Vielen Dank für jegliche Ideen.

Gruß,
Andi


More information about the TYPO3-german mailing list