<?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=Tablesorter</id>
	<title>Tablesorter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=Tablesorter"/>
	<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Tablesorter&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=Tablesorter&amp;diff=893&amp;oldid=prev</id>
		<title>Chris: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Tablesorter&amp;diff=893&amp;oldid=prev"/>
		<updated>2013-07-25T08:45:24Z</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:45, 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=Tablesorter&amp;diff=892&amp;oldid=prev</id>
		<title>Chris at 00:40, 31 May 2008</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Tablesorter&amp;diff=892&amp;oldid=prev"/>
		<updated>2008-05-31T00:40:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;For tablesorter plugin the script must run at page load, therefore the script must be in the header. To achieve this make a .js which includes the script to execute on load for this specific table, and save it in the jquery plugins folder.&lt;br /&gt;
&lt;br /&gt;
Example file - tableloader-d9.js&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$(document).ready(function() {&lt;br /&gt;
	&lt;br /&gt;
	// call the tablesorter plugin&lt;br /&gt;
	$(&amp;quot;table&amp;quot;).tablesorter({ headers: { &lt;br /&gt;
     3: { sorter:'currency' },&lt;br /&gt;
     4: { sorter:'currency' },&lt;br /&gt;
     8: { sorter:'currency' },&lt;br /&gt;
     9: { sorter:'currency' },&lt;br /&gt;
     10: { sorter:'currency' },&lt;br /&gt;
     11: { sorter:'currency' },&lt;br /&gt;
     12: { sorter:'currency' } &lt;br /&gt;
   } });&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the second line at the top:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require_once(PATH_tslib.'class.tslib_pibase.php');&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;
&lt;br /&gt;
Add the last 2 lines here:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function main($content,$conf)	{&lt;br /&gt;
		$this-&amp;gt;conf=$conf;&lt;br /&gt;
		$this-&amp;gt;pi_setPiVarDefaults();&lt;br /&gt;
		$this-&amp;gt;pi_loadLL();&lt;br /&gt;
		tx_jquery::setPlugins(array('iutil','jquery.tablesorter','tableloader-xxx'));&lt;br /&gt;
		tx_jquery::includeLib();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where tableloader-xxx is the name of the load script you created.&lt;br /&gt;
&lt;br /&gt;
To use:&lt;br /&gt;
&lt;br /&gt;
You must use thead and th&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$content .= '&amp;lt;table class=&amp;quot;datatable&amp;quot;&amp;gt;';&lt;br /&gt;
				$content .= '&amp;lt;thead&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th width=&amp;quot;120&amp;quot;&amp;gt;&amp;lt;h3&amp;gt;Date&amp;lt;/h3&amp;gt;&amp;lt;/th&amp;gt;.....&amp;lt;/thead&amp;gt;&lt;br /&gt;
&amp;lt;tbody&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
&amp;lt;/tbody&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scripts inside the table may cause malfunctions.&lt;/div&gt;</summary>
		<author><name>Chris</name></author>
		
	</entry>
</feed>