[TYPO3-english] remove openPic and jQuery
Richard Davies
richard at ocular.co.nz
Thu Dec 6 22:15:08 CET 2012
Hi Erich
Have you tried config.disableAllHeaderCode = 1
It'll remove ALL header code but that is probably what you want in this
case anyway?
Richard
On 7 December 2012 10:12, <erich at erichspecht.com> wrote:
> I'm creating a page with TemplaVoila and Flexible Content Elements that
> editors will use to put together email newsletters. Since it's being sent
> as email, the page shouldn't contain any script, but I'm having trouble
> getting rid of the "openPic" function as well as jQuery which is being put
> on every page of the site via T3 jQuery.
>
> Is there a way to strip out any javascript via typoscript?
>
> I've tried the following:
>
> config {
>
> removeDefaultJS = 1
> removeDefaultCSS = 1
> setJS_openPic = 0
>
> }
>
> as well as
>
> tt_content.image.20.1.imageLinkWrap >
>
> but the openPic function still shows up. And I have no idea how to get
> rid of jQuery (besides specifying page ids which doesn't work well since
> new pages will be created each time there is a new newsletter).
>
> Any thoughts would be appreciated!
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list