[TYPO3-english] Powermail Conditions & TYPO3 4.5

Tomiţă MILITARU tomita.militaru at gmail.com
Sun Aug 19 16:15:33 CEST 2012


I've managed to fix it, the problem was empty new lines generated in FE
before the doctype declaration which were messing with the AJAX calls, for
the sollution I've posted a patch on the extension Forge page.

http://forge.typo3.org/issues/39861

On Thu, Aug 16, 2012 at 8:46 PM, Sergey Alexandrov <serg at alexandrov.us>wrote:

> It also requires jQuery tools. one more possible issue - conflict jQuery /
> prototype / mootools
> Try to disable the other frameworks and watch with Firebug for JS error(s)
>
>
> On 8/16/2012 1:54 AM, Tomiţă MILITARU wrote:
>
>> Powermail include jQuery 1.6.4 and I've checked that, it is included on
>> the
>> page and validation works for the form.
>> So that isn't the problem ...
>>
>> On Wed, Aug 15, 2012 at 8:04 PM, Sergey Alexandrov <serg at alexandrov.us
>> >wrote:
>>
>>  Yes, jQuery is required
>>>
>>>
>>> On 8/15/2012 12:39 PM, Tobias Schmidt wrote:
>>>
>>>   From the documentation of powermail_cond (1.0.2):
>>>> "All JavaScript work will be handled with jQuery"
>>>>
>>>> I guess jQuery is required (but not included in powermail_cond).
>>>>
>>>> And powermail itself requires jQuery since 1.6.0 if you need JavaScript
>>>> validation.
>>>>
>>>> Prototype and Mootools are not supported in current versions.
>>>>
>>>> Tobias
>>>>
>>>> Am 15.08.2012 17:28, schrieb Tomiţă MILITARU:
>>>>
>>>>  No, I don't use any of them. I have mootools on that page, but I don't
>>>>> see
>>>>> any error message in the console.
>>>>>
>>>>> The problem is when loading the form, the AJAX call returns 3 new empty
>>>>> lines and keeps re-calling itself, printing all over the page:
>>>>>
>>>>> Error in powermail_cond.js in clearSession function:
>>>>>
>>>>> On Wed, Aug 15, 2012 at 6:24 PM, Tobias Schmidt <t.schmidt at minuskel.de
>>>>>
>>>>>> wrote:
>>>>>>
>>>>>   If you use jQuery/t3jquery in noConflict mode take a look at
>>>>>
>>>>>> powermail_cond\files\js\******powermail_cond.js and replace "$" with
>>>>>> "jQuery".
>>>>>>
>>>>>> Tobias
>>>>>>
>>>>>> Am 15.08.2012 16:59, schrieb Tomiţă MILITARU:
>>>>>>
>>>>>>    Hello,
>>>>>>
>>>>>>  Can someone please confirm is this combination still works?
>>>>>>> I am having TYPO3 4.5.14, powermail 1.6.9 and powermail_cond 1.0.2
>>>>>>> and
>>>>>>> it
>>>>>>> seems not work anymore adding conditions, more specifically they
>>>>>>> don't
>>>>>>> work
>>>>>>> in FE anymore.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>>   ______________________________******_________________
>>>>>>>
>>>>>> TYPO3-english mailing list
>>>>>> TYPO3-english at lists.typo3.org
>>>>>> http://lists.typo3.org/cgi-******bin/mailman/listinfo/typo3-****
>>>>>> **english<http://lists.typo3.org/cgi-****bin/mailman/listinfo/typo3-****english>
>>>>>> <http://lists.typo3.**org/cgi-**bin/mailman/**
>>>>>> listinfo/typo3-**english<http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english>
>>>>>> >
>>>>>> <http://lists.typo3.**org/cgi-**bin/mailman/listinfo/**typo3-**
>>>>>> english<http://lists.typo3.**org/cgi-bin/mailman/listinfo/**
>>>>>> typo3-english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>>>>>> >>
>>>>>>
>>>>>>
>>>>>>  ______________________________****_________________
>>>>>
>>>> TYPO3-english mailing list
>>>> TYPO3-english at lists.typo3.org
>>>> http://lists.typo3.org/cgi-****bin/mailman/listinfo/typo3-****english<http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english>
>>>> <http://lists.typo3.**org/cgi-bin/mailman/listinfo/**typo3-english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>>>> >
>>>>
>>>>  ______________________________****_________________
>>> TYPO3-english mailing list
>>> TYPO3-english at lists.typo3.org
>>> http://lists.typo3.org/cgi-****bin/mailman/listinfo/typo3-****english<http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english>
>>> <http://lists.typo3.**org/cgi-bin/mailman/listinfo/**typo3-english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>>> >
>>>
>>>
>>
>>
> ______________________________**_________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>



-- 
Engr. Tomiţă MILITARU
Certified TYPO3 Integrator
Tel. +40741064681


More information about the TYPO3-english mailing list