Finished All In One for teacher links. Works for teacher list or individual teacher.
Built new packages just to test.
Fixed problem with media where Itemid was not gotten correctly. Still major problem with this file though so will still work on it.
Corrected problem with docMan_id. In old schema it was numeric so it was set to zero. In new schema it is a VARCHAR. Changed the test to isset($docMan_id) but that will be true even if it is a zero. So added a test to make sure it is not zero.
Just testing to make sure article worked.