CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Suggestion #38253

Don't add JS hardcoded

Added by Michael Bakonyi 11 months ago. Updated 10 months ago.

Status:Resolved Start date:2012-06-21
Priority:Should have Due date:2012-08-10
Assignee:Federico Bernardin % Done:

0%

Category:Generic FE code Spent time: -
Target version:1.2.0 version
Tags:
Votes: 0

Description

The default JS added by the extension sets the basic jQuery-feature noConflict() which might lead to other javascripts not working anymore. So it would be better to set the path to the file via TypoScript so that the integrator has the chance to disable it easily. Even better would be an option kind of like "integrate jQuery-lib" which could be switched on an off via TS. Only if the switch is on the library/JS should be included.

History

Updated by Federico Bernardin 10 months ago

  • Category set to Generic FE code
  • Assignee set to Federico Bernardin
  • Target version set to 1.2.0 version

Updated by Federico Bernardin 10 months ago

  • Due date set to 2012-08-10
  • Status changed from New to Resolved

Added new two configuration properties:
plugin.t3registration.javascriptsInclusion.jquery = 0 => initialize.js will not be included
plugin.t3registration.javascriptsInclusion.imageRemove = 0 => registration.js will not be included

to preserve backward compatibility these properties are set as 1.

Also available in: Atom PDF