Details

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

      Issue Links

        Activity

        Penny Leach created issue -
        Penny Leach made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        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
        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
        Penny Leach added a comment -

        assignment module done (upload, upload single & online)

        Show
        Penny Leach added a comment - assignment module done (upload, upload single & online)
        Hide
        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
        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
        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
        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
        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
        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
        Penny Leach added a comment -

        whole database export is done.

        Show
        Penny Leach added a comment - whole database export is done.
        Hide
        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
        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
        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
        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
        Penny Leach added a comment -

        whole glossary is done.

        Show
        Penny Leach added a comment - whole glossary is done.
        Penny Leach made changes -
        Link This issue will be resolved by MDL-15951 [ MDL-15951 ]
        Hide
        Penny Leach added a comment -

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

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

        chat done!

        Show
        Penny Leach added a comment - chat done!
        Hide
        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
        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.
        Penny Leach made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 2.0 [ 10122 ]
        Resolution Fixed [ 1 ]
        Martin Dougiamas made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Martin Dougiamas made changes -
        Workflow jira [ 27572 ] MDL Workflow [ 60370 ]
        Martin Dougiamas made changes -
        Workflow MDL Workflow [ 60370 ] MDL Full Workflow [ 89532 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: