Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 2.0
    • Component/s: Portfolio
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

            Hide
            mjollnir Penny Leach added a comment -

            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)
            Show
            mjollnir Penny Leach added a comment - 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)
            Hide
            mjollnir Penny Leach added a comment -

            assignment module done (upload, upload single & online)

            Show
            mjollnir Penny Leach added a comment - assignment module done (upload, upload single & online)
            Hide
            mjollnir Penny Leach added a comment -

            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

            Show
            mjollnir Penny Leach added a comment - 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
            Hide
            mjollnir Penny Leach added a comment -

            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.

            Show
            mjollnir Penny Leach added a comment - 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.
            Hide
            mjollnir Penny Leach added a comment -

            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.

            Show
            mjollnir Penny Leach added a comment - 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.
            Hide
            mjollnir Penny Leach added a comment -

            whole database export is done.

            Show
            mjollnir Penny Leach added a comment - whole database export is done.
            Hide
            mjollnir Penny Leach added a comment -

            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?

            Show
            mjollnir Penny Leach added a comment - 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?
            Hide
            timhunt Tim Hunt added a comment -

            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.

            Show
            timhunt Tim Hunt added a comment - 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.
            Hide
            mjollnir Penny Leach added a comment -

            whole glossary is done.

            Show
            mjollnir Penny Leach added a comment - whole glossary is done.
            Hide
            mjollnir Penny Leach added a comment -

            single database entry is done with an upgrade to add ##export## to the list & single templates.

            Show
            mjollnir Penny Leach added a comment - single database entry is done with an upgrade to add ##export## to the list & single templates.
            Hide
            mjollnir Penny Leach added a comment -

            chat done!

            Show
            mjollnir Penny Leach added a comment - chat done!
            Hide
            mjollnir Penny Leach added a comment -

            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.

            Show
            mjollnir Penny Leach added a comment - 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.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10