Non-core contributed modules

Block to link metacourses

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.4
  • Fix Version/s: None
  • Component/s: Block: Metalink
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

Similar to tutorlink, is re-written functionality from my old dodgy cron.php; can deal with csv files either directly uploaded or put on the server then caught by a cronjob.

Not fully tested yet, but seems to work ok.

I've not yet implemented the delete pointless metacourses feature of the original yet

I had a thought half way through writing this, if I check permissions when running from cron what happens?

Thanks,
Mike

Issue Links

Activity

Hide
Anthony Borrow added a comment -

Mike - Sorry for the delay. Before I went too far with this I figured I would check and see if you had an updated version of this with all of the functionality. Peace - Anthony

Show
Anthony Borrow added a comment - Mike - Sorry for the delay. Before I went too far with this I figured I would check and see if you had an updated version of this with all of the functionality. Peace - Anthony
Hide
Anthony Borrow added a comment -

Mike - I have started reviewing the code for the metalink block. The first thing I noticed was you have a space in the lang file for the cronfiledesc field. Also, you need to change the get_string in the block's get_content to:

$this->content->text.= get_string('csvfile','block_metalink');

it was listed as block_tutorlink. Since these are just obvious typos I am going to go ahead and commit them. Thanks again for sharing another good block. Anything we can do to help make management of these things easier and better communicate with other systems is a definite plus. Peace - Anthony

Show
Anthony Borrow added a comment - Mike - I have started reviewing the code for the metalink block. The first thing I noticed was you have a space in the lang file for the cronfiledesc field. Also, you need to change the get_string in the block's get_content to: $this->content->text.= get_string('csvfile','block_metalink'); it was listed as block_tutorlink. Since these are just obvious typos I am going to go ahead and commit them. Thanks again for sharing another good block. Anything we can do to help make management of these things easier and better communicate with other systems is a definite plus. Peace - Anthony
Hide
Anthony Borrow added a comment -

moving to newly create Block: Metalink

Show
Anthony Borrow added a comment - moving to newly create Block: Metalink
Hide
Anthony Borrow added a comment -

Mike - CVS write access granted, code added, component created. Let me know if you need anything else. Please make sure to add an entry to the M&P database and to take care of creating a docs page as described in http://docs.moodle.org/en/Development:Guidelines_for_contributed_code. You know the drill. Peace - Anthony

Show
Anthony Borrow added a comment - Mike - CVS write access granted, code added, component created. Let me know if you need anything else. Please make sure to add an entry to the M&P database and to take care of creating a docs page as described in http://docs.moodle.org/en/Development:Guidelines_for_contributed_code. You know the drill. Peace - Anthony
Hide
Anthony Borrow added a comment -

Closing all of my resolved issues. Peace - Anthony

Show
Anthony Borrow added a comment - Closing all of my resolved issues. Peace - Anthony

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: