Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 10.12.07, 13:14
Forum Zuschauer
 
Registriert seit: 20.03.07
Beiträge: 8
Frage

conditions Problem: Wert wird einfach nicht benutzt


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]
Es funktioniert alles bis zu (**) bzw. (***). Wenn in Schritt 2 des Formulars keine Lieferadresse eingegeben wird, dann wird über die Conditions zu (**) geleitet, alles funktioniert, im Schritt 3 wird der Errorcheck 'bank' erfolgreich durchgeführt.

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ä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


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:20 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0