[Typo3] Problem with pbsurvey extension and xhtml_cleaning
Patrick Broens
patrick at patrickbroens.nl
Thu Nov 17 13:59:21 CET 2005
Hi Allan,
The javascript in my extension is a lot. It is for all the question
types in one script. I'm working on a new version, which only generates
javascript according to the question types that are displayed.
I haven't tried my extension with xhtml cleaning, so I will have to take
a look at it. Strange that the javascript is being corrupted by xhtml
cleaning.
I'll let you know as soon as I have the solution.
Patrick Broens (developer of pbsurvey)
Allan Jacobsen wrote:
> Hi
>
> I don't know if this should go to the developers list, but I will have a go here first to se if anyone else has the same problem.
> I tried to put a questionnaire on our intranet with the extension pbsurvey, and everything looked fine in firefox on linux which is my development platform.
> The required fields were not checked, but I didn't think more of it. Then I checked the page with Internet Explorer, and it just showed a blank white page....
> "Show page content" showed a lot of html and javascript so something was obviously wrong, and I started investigating.
> It turned out that the javascript from the extension was being corrupted by the 2 lines:
>
> page.config.xhtml_cleaning = output
> page.config.doctype = xhtml_trans
>
> in my template.
> After removing them everything works OK, so the question is: is there a way to use both pbsurvey and the xhtml cleaning ?
>
>
> MVH
> Allan Jacobsen
> Infrastruktur, Dansk Tipstjeneste A/S
> Korsdalsvej 135, 2605 Brøndby
>
>
More information about the TYPO3-english
mailing list