Bug #37603
jQuery breaks the Site
| Status: | New | Start date: | 2012-05-30 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
On our site, wt_directory breaks jQuery functions when installed, because it includes so many new script files:
<script type="text/javascript" src="typo3/contrib/prototype/prototype.js"></script>
<script type="text/javascript" src="typo3/contrib/scriptaculous/scriptaculous.js"></script>
<script type="text/javascript" src="typo3/contrib/scriptaculous/effects.js"></script>
<script type="text/javascript" src="typo3/contrib/scriptaculous/controls.js"></script>
<script type="text/javascript" src="typo3conf/ext/wt_directory/js/wtdirectory_autocomplete.js"></script>
<script language="JavaScript" type="text/javascript" src="fileadmin/templates/karussell/jquery.jcarousel.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js" type="text/javascript"></script>
<script src="typo3conf/ext/wt_directory/js/wtdirectory_drilldown.js" type="text/javascript"></script>
We already include our own jQuery library and would like a config option to use this instead of the external old Google file.
page.includeJSFooter.wtdirectory_jQuery >
in the template did the trick for us, but we would recommend a config option or even better to make use of the t3jquery extension like powermail does.
Is it even necessary to use scriptaculous instead of jQuery?
Cheers,
Hanno - Felix Wagner