![]() |
| | LinkBack | Themen-Optionen | Thema bewerten | Ansicht |
|
#1
| |||
| |||
Hallo, ich habe ein Problem wo ich absolut nicht weiter weiß. Ich habe folgende Weg durch meine Formulare und folgendes TS: Code: 1)Versandadresse
|
2)Lieferadresse (optional, aber wenn dann Errcheck 'delivery')
/ \
/ \
3)Versand Dtl Versand andere Länder
/ \ \
3.1)ZahlungBank 3.2)Zahlung Rechnung [...]
(errcheck 'bank') \
/ \
4.1)Zusammenfassung1 4.2)Zusammenfassung2
/ \
fertig fertig
# allgemeiner Default-Weg, läuft auf CC-Zahlung raus
# andere Wege überschreiben den Wert je nach A-Fall
plugin.tx_thmailformplus_pi1.default.email_requiredfields = creditcard
# letzter Schritt, allgemeiner Weg, mit zusaetzl Lieferadresse
[globalVar = GP:deliveryaddress = Ja]
plugin.tx_thmailformplus_pi1.multipage.4.postfix = _delivery
plugin.tx_thmailformplus_pi1.default.email_requiredfields = delivery, creditcard
[global]
# fuer Deutschland gibt es keine CC Zahlung
[globalVar = GP:country = Deutschland]
plugin.tx_thmailformplus_pi1.default.email_requiredfields =
plugin.tx_thmailformplus_pi1.multipage.3.postfix = _deutschland
[global]
# fuer Deutschland und Lieferadresse, CC nicht noetig
[globalVar = GP:country = Deutschland] && [globalVar = GP:deliveryaddress = Ja]
plugin.tx_thmailformplus_pi1.multipage.3.postfix = _deutschland
plugin.tx_thmailformplus_pi1.default.email_requiredfields = delivery
[global]
#######################################################################################################
# fuer Deutschland, Zahlung per Rechnung
[globalVar = GP:country = Deutschland] && [globalVar = GP:cashing = Rechnung]
plugin.tx_thmailformplus_pi1.default.email_requiredfields =
plugin.tx_thmailformplus_pi1.multipage.4.postfix = _deutschlandinvoice
[global]
# fuer Deutschland, Zahlung per Rechnung und Lieferadresse
[globalVar = GP:country = Deutschland] && [globalVar = GP:cashing = Rechnung] && [globalVar = GP:deliveryaddress = Ja]
plugin.tx_thmailformplus_pi1.default.email_requiredfields =
plugin.tx_thmailformplus_pi1.multipage.4.postfix = _deutschlandinvoicedelivery
[global]
#######################################################################################################
(**)[globalVar = GP:country = Deutschland] && [globalVar = GP:cashing = Ueberweisung]
plugin.tx_thmailformplus_pi1.multipage.4.postfix = _deutschlandbanktrans
plugin.tx_thmailformplus_pi1.default.email_requiredfields = bank
[global]
(***)[globalVar = GP:country = Deutschland] && [globalVar = GP:cashing = Ueberweisung] && [globalVar = GP:deliveryaddress = Ja]
plugin.tx_thmailformplus_pi1.default.email_requiredfields = bank
plugin.tx_thmailformplus_pi1.multipage.4.postfix = _deutschlandbanktransdelivery
[global] Wenn aber in Schritt 2 eine Lieferadresse angegeben wird, wird diese Lieferadresse geprüft (errorcheck 'delivery') und ich werde für Schritt 3 zu (***) geleitet. Und da passierts: kein Errorcheck mehr , es wird ohne Prüfung einfach weitergeleitet zu Schritt 4. Das komische daran: er wertet die Condition richtig aus, da 1) in diesem Fall auch plugin.tx_thmailformplus_pi1.multipage.4.postfix = _deutschlandbanktransdelivery richtig gesetzt ist (an der Stelle (***)) und 2) ich im TypoScript Objekt Browser bei gesetzten Conditions sehe, dass in diesem Fall der ErrorCheck im TS auf 'bank' steht. Er wird aber nicht ausgeführt. Nochmal kurz das Problem: Schritt 2 ohne Lieferadresse => Schritt 3 funktioniert ErrorCheck 'bank' Schritt 2 MIT Lieferadresse => Schritt 3 funktioniert ErrorCheck 'bank' nicht mehr, wird schlichtweg ignoriert, obwohl im Typoscript Object Browser zu sehen Irgendwelche Ideen? Kann man irgendwie besser debuggen? Achja es geht um MailfromPlus 4.0.3 und Typo3 4.1.1 ... Schöne Grüße, Bern |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Typoscript: HTML wird nicht interpretiert sondern einfach ausgegeben | DreiElf | TemplaVoila | 2 | 17.06.08 21:20 |
| realurl: Alternativsprache wird einfach nicht verlinkt | adjan | Suchmaschinenfreundliche URLs (SEO) | 1 | 12.06.08 01:21 |
| th_mailformplus - Wert aus Radio wird in 2. Schritt nicht übergeben | nic. | Alle anderen Extensions | 0 | 17.03.08 13:08 |
| Conditions - Wert je nach Seiteninhalt ausgeben (tt_content) | Dshow | TYPO3 4.x Fragen und Probleme | 7 | 13.09.07 14:42 |
| Inhalt wird einfach nicht angezeigt | NickD | TYPO3 4.x Fragen und Probleme | 1 | 09.10.06 17:03 |