[TYPO3-english] powermail - jquery - safari/opera: send now NOGO
Stephan Bernhard
grac at gmx.ch
Fri Dec 23 18:41:47 CET 2011
hi list
after spending quite a few days in trying to solve a problem between
powermail, jquery and the two browsers "Safari" (version 5.1.2) and
"opera" (version 11.60) and after unsuccessfully asking for help by the
developer of powermail, i address this list in the hope that anyone can
give me the crucial hint for solving my problem.
firefox (version 9.0.1), chrome (version 16.0.912.63 m) and IE 9
(version 9.0.8112.16421) send the form content without any problems.
but safari and opera - instead of successfully going on after the
validation of the fields - just show error messages regarding all fields
when pushing "send now".
my installation:
- TYPO3 3.3.3 (unfortunately i cannot update at the moment)
- powermail 1.5.7
- t3query 2.0.7
all javascripts load correctly in all browsers.
here are the TSconstants for the respective form pages with powermail:
plugin.powermail.libraryToUse = jquery
plugin.powermail.clear.session = 1
plugin.powermail.hiddenfields.show = 1,1,1,1,1
plugin.powermail.mandatory.wrap = <span
class="powermail_mandatory"> |</span>
and here my TSsetup for the respective form pages with powermail:
lib.powermail_dynJavascript = COA
lib.powermail_dynJavascript {
10 = TEXT
10.typolink.parameter.dataWrap = {TSFE:id},3131
10.typolink.returnLast = url
stdWrap.wrap = <script src="|" type="text/javascript"></script>
stdWrap.htmlSpecialChars = 1
}
[userFunc = user_powermailOnCurrentPage] && [globalVar = LIT:jquery =
{$plugin.powermail.libraryToUse}]
page.includeJS.file31313 = EXT:powermail/js/jquery/tx_powermail.js
[end]
[userFunc = user_powermailOnCurrentPage]
page.headerData.31310 < lib.powermail_dynJavascript
seite.headerData.31310 < page.headerData.31310
seite.includeJS.31311 < page.includeJS.file31311
seite.includeJS.31312 < page.includeJS.file31312
seite.includeJS.31313 < page.includeJS.file31313
seite.includeJS.31314 < page.includeJS.file31314
[end]
tx_powermail.js is from the actual patch.
so are TSconstants (regarding jquery as "libraryToUse" and TSsetup (see
above).
and here comes the html-code (header):
<script src="uploads/tx_t3jquery/jquery-1.7.x-1.8.x-1.2.x.js"
type="text/javascript"></script>
<script src="typo3conf/ext/powermail/js/misc/misc.js"
type="text/javascript"></script>
<script src="typo3conf/ext/powermail/js/jquery/tx_powermail.js"
type="text/javascript"></script>
and
<script src="service/reisegutscheine/?type=3131"
type="text/javascript"></script>
is anyone out there who can help me with this puzzling behavior of
Safari and Opera?
thanks in advance for any hint and help
stephan
More information about the TYPO3-english
mailing list