PROBLEM 1 : Enabling sorting of tables of data
Some of the material I want to put on my website comprises tables of references. On my computer, using Microsoft Word, I can sort the tables of
references I created by name of author, date, or length of discussion. Each of these can be quite useful. I’d like the tables I put on the Internet
to be sortable as well.
Ok, after a bit of searching I found a set of Javascript routines which apparently enable this and are very easy to install.
(Ease of installation is important to me, as I’ve never looked at Javascript before the last few weeks. I’m just a lawyer…).
Details of the relevant “Standardista” table sorting _javascripts (including instructions on their use) can be found
HERE and the _javascript itself downloaded
HERE.
This is where I started getting lost....
First, I wasn’t sure how to upload the relevant files or where to.
Second, and more importantly, the instructions at the first link above say to “include the .js files in the HEAD of your webpage”. Well, it seems
Joomla doesn’t easily allow you to insert commands in the HEAD section of a webpage. Fortunately, after wasting quite a bit more time, I was able
to find a
Joomla plugin that allows you to insert
commands into the HEAD section of a webpage by enabling the plugin and then putting the relevant commands inside tags.
So, I installed the plugin and put the relevant commands which should (I think) call the relevant _javascript routines inside the tags.
Unfortunately, the table of references still doesn’t sort...
I now have no idea why not.
Did I do something wrong in relation to the Standardista table sorting Javascript? E.g. there were one or two bits and pieces within the zip file I
downloaded which I didn’t know what to do with – I just uploaded the 3 specific files which are named in the subsequent commands, i.e. common.js,
css.js, standardista-table-sorting.js. Or perhaps I simply put those _javascript files in the wrong place?
Or perhaps the problem is with my use of the tags? Or perhaps the _javascript files I need aren’t compatible with the plugin?
Or perhaps there is some option within Joomla which needs to be enabled or ticked or turned off?
Or perhaps I’ve simply put a comma where I should have put a full stop or something else equally basic.
Heck, I don’t know what error messages (if any) I’d get with each possible error so as to eliminate possibilities.
In short, I’ve had enough of stumbling around in the dark.
I’ve put a sample table of references on
this webpage (in
relation to Kenneth Arnold’s first UFO sighting in 1947, which has the longest table of references in my notes).
(I haven’t changed most of the standard Joomla sample content that is installed automatically – unless I can overcome this table sorting problem
then there isn’t any point making either website I’m creating look pretty).
If anyone thinks they can help but needs to have administrator access to the backend then I’m prepared to create a relevant administrator account.
Oh well, no one ever said that life within ufology was easy…
All the best,
Isaac
[edit on 22-12-2008 by IsaacKoi]