<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=Install_jquery</id>
	<title>Install jquery - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=Install_jquery"/>
	<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Install_jquery&amp;action=history"/>
	<updated>2026-04-27T19:15:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://deltanine.net/mw/index.php?title=Install_jquery&amp;diff=545&amp;oldid=prev</id>
		<title>Chris: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Install_jquery&amp;diff=545&amp;oldid=prev"/>
		<updated>2013-07-25T08:08:10Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 08:08, 25 July 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Chris</name></author>
		
	</entry>
	<entry>
		<id>https://deltanine.net/mw/index.php?title=Install_jquery&amp;diff=544&amp;oldid=prev</id>
		<title>Chris: /* Examples */</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Install_jquery&amp;diff=544&amp;oldid=prev"/>
		<updated>2008-05-31T00:12:02Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Installing jquery in Typo3 ==&lt;br /&gt;
&lt;br /&gt;
First - you '''MUST''' install Javascript Manager '''first''' [http://typo3.org/extensions/repository/view/jsmanager/1.0.0/ jsmanager]&lt;br /&gt;
&lt;br /&gt;
Only after you have done this can you install [http://typo3.org/extensions/repository/view/jquery/1.2.2/ jquery]&lt;br /&gt;
&lt;br /&gt;
Once installed place the following line in you extension, right after the first require_once&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require_once(t3lib_extMgm::extPath(&amp;quot;jquery&amp;quot;).&amp;quot;class.tx_jquery.php&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This may not be that latest version. Download jquery from the jquery websit, and overwrite the jquery.js file in /var/www/t3/typo3conf/ext/jquery/src&lt;br /&gt;
&lt;br /&gt;
== Adding extra scripts ==&lt;br /&gt;
&lt;br /&gt;
Ensure you give the script the .js extension, rename it cutting out any jquery. prefix (unnecessary, but most of the other scripts don't have it) and put it in the jquery plugins folder. I don't think it matters if it's uncompressed - I think jquery requires help to use the &amp;quot;uncompressed plugins&amp;quot; folder, so just skip that.&lt;br /&gt;
Ensure you have any prerequisite scripts also installed!&lt;br /&gt;
Copy the CSS as you see fit. It can all go in the main CSS file in filadmin/templates - probably not the optimal way, but it works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Defining the scripts you will use ==&lt;br /&gt;
&lt;br /&gt;
Decide which scripts you will need, and include them in your extension thus:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function main($content,$conf){&lt;br /&gt;
// only include the scripts, that are necessary&lt;br /&gt;
tx_jquery::setPlugins(array('iutil','idrag','idrop','isortables'));&lt;br /&gt;
tx_jquery::includeLib();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using the scripts ==&lt;br /&gt;
&lt;br /&gt;
First, ensure you have put an id= in your field. Some class= probably helps too.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$firstList = '&amp;lt;ul id=&amp;quot;firstlist&amp;quot;&amp;gt;';&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;input id=&amp;quot;date-pick&amp;quot; class=&amp;quot;dp-choose-date&amp;quot; type=&amp;quot;text&amp;quot; size=6&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before the script finish start a new line. I think this is necessary, but not 100%.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. '&amp;lt;/div&amp;gt;' . &amp;quot;\n&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then put in the script: (Watch for 66-99  quotes in the jquery example - they are wrong!)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$content .= '&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;' . &amp;quot;\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
. '// &amp;lt;![CDATA[' . &amp;quot;\n&amp;quot;&lt;br /&gt;
&lt;br /&gt;
. &amp;quot;$('#firstlist').Sortable({accept:'sortable', fit:true, tolerance:'intersect', floats:false});&amp;quot; . &amp;quot;\n&amp;quot;&lt;br /&gt;
&lt;br /&gt;
. &amp;quot;$('#secondlist').Sortable({accept:'sortable', fit:true, tolerance:'intersect', floats:false});&amp;quot; . &amp;quot;\n&amp;quot;&lt;br /&gt;
&lt;br /&gt;
. '// ]]&amp;gt;' . &amp;quot;\n&amp;quot;&lt;br /&gt;
&lt;br /&gt;
. '&amp;lt;/script&amp;gt;' . &amp;quot;\n&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
[[jquery date picker]]&lt;br /&gt;
&lt;br /&gt;
[[tablesorter]]&lt;/div&gt;</summary>
		<author><name>Chris</name></author>
		
	</entry>
</feed>