Hi,
I've used the TableManager Module to create an UnderGraduate Class Timetable for Semester 1 as shown below :
SEMESTER PERIOD MON TUE WED.................................
1 8:00am-8:50am CS20A, CS11A, CS30C,
CS29A, CS13B CS30F
CS31A
1 9:00am-9:50am CS21B, CS20C CS31E
CS13C
.....
.....
...
..
The course codes, eg CS20A, CS29A etc appears as flat text displays, that is, they are not clickable.
I have used a custom node module to create nodes for each course.
I would like to display each course code as a hyperlink, that is it appears as above but when the user clicks on a course code eg. CS20A, he is taken to ..node/324 .ie. the node for course CS20A.
I am really satisfied with the way TableManager has allowed me to create this table...BUT I would really like to implement the described adjustment to improve the usability of my table.
Is this possible ? I would appreciate it very much if anyone has ideas on how to do this....Thanks alot.
Comments
I'd like to know, too,
I'd like to know, too, because clickable cells aren't possible with the CCK Matrix module, and the Views module only allows links to certain fields ("node reference" and taxonomy-related--but neither of these are sortable and the taxonomy fields have weird spacing and vertical alignment), so a limited relational database structure is possible with Drupal and CCK+Views modules, as far as I can tell, but it's very complicated/confusing to set up and incomplete.
Any ideas ?
Has anyone ever considered this while using TableManager before..or had the need to do a similar change....would really appreciate your help...thanks.
It is possible, but it's not
It is possible, but it's not easily possible I'm afraid. This is one of the main reasons I'm coding a new version of Tablemanager... In the new version fieldtypes are 'pluggable' the same way cck uses them, ie. you enable them as separate modules and all the code needed for them is contained within a separate module file. This means that new fieldtypes will be far easier to code in the future, key word that though... "Future"... It's not ready yet (by a long way, I need to move house soon as well so that's going to put the release back a bit as well).
I did start changing my own 4.7 installation to use hyperlinks in the URL fieldtype, but I never finished it as tbh I didn't need it for myself and I kind of realised that I should be putting my efforts to writing a new version rather than messing around with the old one... The idea I had for doing it though is very simple, to just split the data into two aligned textfields - then simply serialize them as an array into the database as you would with the other fields (for a clue, look to how the date fieldtype manipulates what its passed). It's not a whole lot of work to do as there is already a 'URL' fieldtype, you just need to modify the code everywhere it matters...
Hope this helps.
Thanks,
Pobster
--------------------------------------------
http://www.justgiving.com/paulmaddern
--------------------------------------------
Perhaps there's someone else
Perhaps there's someone else who can help work on the code modification while you move?
People really aren't all
People really aren't all that helpful...
...and anyways, the current version - the one you're using - is abandoned code-wise. The new version is a whole lot easier for everyone, it'll stop all those stupid support requests I get where people just don't read the instructions (well, I hope so anyway!) The whole thing will be a lot easier to see what you're doing and a LOT LOT LOT easier in allowing people to write their own fieldtype modules for it. There'll be a flexibility in how it works to allow for 'computed' values (like in a spreadsheet) using automated sql calculation queries.
Pobster
--------------------------------------------
http://www.justgiving.com/paulmaddern
--------------------------------------------
Thanks
Thanks...pobster for your response. I have been patiently waiting for your feedback.
I was aware a reasonable amount of programming may have been needed....just thought that you might have already thought of/done similar modifications at some time...Anyway I am considering your suggestions and would make an attempt if time permits...my project deadline looms...thanks again.
Just to be a little more
Just to be a little more helpful than I have been (well, haven't been helpful at all but you know what I mean!) Here's some of the code where I started to hack the URL fieldtype for the current version.
http://www.arcadegeek.co.uk/tablemanager.module.txt
I wouldn't use that as a main version - it's very dev and includes stuff that's 1/ broken and 2/ unimplemented... It'll at least give you a better idea of how to go about the URL part.
Pobster
--------------------------------------------
http://www.justgiving.com/paulmaddern
--------------------------------------------