Developing a new Comments Block

Developing a new Comments Block

by Jacob Uribe Ais -
Number of replies: 4

Hey!

We're three students from the Universitat Pompeu Fabra (Barcelona, Spain) which are trying to develope a new "Comments Block" which permises you to allow comments like actually does that block but it conserves a reference to a determinated part of a text of the content that the teacher has published.

We have the doubt that if it's possible to use Javascript to develope in Moodle project? Because we want to use it to select and determinate the selected fragment of the text which the student references.

If we can not, do you know what programming language compatible with the Moodle project can we use for doing that?

 

Thank you so much! smile

 

Carles Xavier, Dani, Jacob.

Average of ratings: -
In reply to Jacob Uribe Ais

Re: Developing a new Comments Block

by Derek Chirnside -

By far the best program to do this has been Marginalia http://www.geof.net/code/annotation/demo/

This has a Moodle implementation as well.

I like the idea of being able to highlight and type a comment.

-Derek

Average of ratings: Useful (1)
In reply to Derek Chirnside

Re: Developing a new Comments Block

by Jacob Uribe Ais -

Oh! smile

Thank you so much Derek! 

We're investigating more about Marginalia, but it seems so much similar to what we want to do!

We'll keep you informed about our progress smile

 

Carles Xavier, Dani, Jacob.

In reply to Jacob Uribe Ais

Re: Developing a new Comments Block

by Carles Xavier Vilás Berdié -

Hello!

Marginalia is exactly that we are trying to do, but it's applied to forum module. Our idea is apply "marginalia" to page module. Exists anyway to change this efficiently or is necessary to change the marginalia code?

Thanks!

Carles Xavier, Dani, Jacob.

In reply to Carles Xavier Vilás Berdié

Re: Developing a new Comments Block

by Carles Xavier Vilás Berdié -

Hello again!

The answer to our own question is that it’s necessary to change some files of Marginalia block. These files are in blocks/marginalia:

-          annotate.php

-          annotation_summary_query.php

-          annotation_styles.php

-          moodle_marginalia.php

-          MoodleMarginalia.js

-          smartquote.js

-          summary.js

-          summary.php

-          /db/upgrade.php

Probably, other files will need changes, but by the moment these are the most important. We’ll keep you informed.

Carles Xavier, Dani and Jacob.