Issue Details (XML | Word | Printable)

Key: MDL-15758
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Penny Leach
Reporter: Penny Leach
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-14591

add 'export to portfolio' button all through moodle

Created: 22/Jul/08 09:03 PM   Updated: 03/Sep/08 10:10 PM
Return to search
Component/s: Portfolio API
Affects Version/s: 1.9.3
Fix Version/s: 2.0

Issue Links:
Dependency
 

Participants: Penny Leach and Tim Hunt
Security Level: None
Resolved date: 03/Sep/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_20_STABLE


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Penny Leach added a comment - 25/Jul/08 04:33 PM
From http://docs.moodle.org/en/Development:Portfolio_API#Save_points_in_Moodle:
  • mod/assignment/view.php (online and uploaded file assignments)
  • mod/forum/discuss.php (whole page / individual posts / attachment only)
  • mod/chat/report.php (whole page / each session)
  • mod/glossary/view.php (whole glossary as CSV / each entry)
  • mod/database/view.php (whole database as CSV / each entry)
  • mod/resource/view.php (all embedded formats and typed-in content, not links)

Penny Leach added a comment - 25/Jul/08 04:34 PM
assignment module done (upload, upload single & online)

Penny Leach added a comment - 25/Jul/08 08:13 PM
forum is a bit complicated:
  • how to link attachments to posts - either individual post or full discussion - they need to be exported as HTML, but I can't just write the attachments out to disk and then link to them in HTML of the post. additionally I can't just put a placeholder link in the HTML because that introduces a dependency on an external system to be able to decode that. I can't keep the existing file url to the attachments because that assumes whoever views this in whatever resulting system this ends up in has access to moodle which is obviously a fallacy.
  • attachments by themselves are trivial however. (assuming reliance on files api)

ideas welcome


Penny Leach added a comment - 25/Jul/08 09:34 PM
The more I think about this the more I am starting to be convinced that this is just not going to work until we start supporting more sophisticated export formats (eg LEAP)... exporting an entire forum thread (or even a post without attachments) as a file/html is just a bit too complicated.

Penny Leach added a comment - 28/Jul/08 04:12 PM
uploadey resources are tricky - I can't immediately see where the link should go - the only place I can think is in the header frame when you have the keep navigation setting on... the other two (text & html) are done.

Penny Leach added a comment - 01/Aug/08 08:30 PM
whole database export is done.

Penny Leach added a comment - 01/Aug/08 08:45 PM
single database entry is a bit tricky - the obvious place to put it is with the edit/delete icons, but they're part of the templates as far as I can see, so not really able to be changed retroactively.... any suggestions?

Tim Hunt added a comment - 05/Aug/08 12:40 AM
The edit and delete functionality is also very important to the functioning of the database module, yet we allow teachers to control it by editing the template, so why not allow them to control the export to portfolio button in exactly the same way? Make a variable for it that gets substituted.

The only tricky bit is the upgrade script to add it to all existing templates. I would have though it would be possible to devise a suitable search-and-replace type database upgrade to do it thought.


Penny Leach added a comment - 05/Aug/08 09:45 PM
whole glossary is done.

Penny Leach added a comment - 14/Aug/08 06:38 PM
single database entry is done with an upgrade to add ##export## to the list & single templates.

Penny Leach added a comment - 18/Aug/08 06:18 PM
chat done!

Penny Leach added a comment - 03/Sep/08 10:10 PM
upload resource is dependent on http://tracker.moodle.org/browse/MDL-16325 which is blocking me so i'm closing this and will open a separate task.