Forums | Mahara Community

Developers /
Note Plugin


anonymous profile picture
Account deleted
Posts: 12

10 February 2012, 10:16

New artefact note plugin: http://code.google.com/p/mahara-artefact-note/ that let you to create notes and display them in your portfolios.

This provides a few benefits over the standard text block:

  • You can reuse your notes across several views
  • You have more estates to edit your text
  • You can save drafts
Kristina Hoeppner's profile picture
Posts: 4739

10 February 2012, 21:42

Hello Laurent,

Thank you for posting your plugin. You are welcome to add it to the wiki page for plugins https://wiki.mahara.org/index.php/Plugins

For which version of Mahara does your plugin work? Did you see that 1.5 will have "Notes"? They can be used across pages. I think it would be interesting to see how to combine that core functionality with the other functionality that you talk about.

Cheers

Kristina

anonymous profile picture
Account deleted
Posts: 12

13 February 2012, 4:56

Cheers Kristina,

I will add a page to the wiki as you suggested.

The plugin is for 1.4. I had a look at 1.5 and, putting a side UI differences, both provide more or less the same functionalities. So I assume plugin will be mostly usefull for 1.4 users.

Emilie Lenel's profile picture
Posts: 112

17 February 2012, 5:05

Hello Laurent

Thanks for your plugin, i was looking for such feature

However, i had an error : [WAR] ce (lib/errors.php:745) Failed to get a recordset: mysql error: [1146: La table 'mahara.artefact' n'existe pas] in EXECUTE("SELECT count(*) as count FROM artefact WHERE owner=6 AND artefacttype='note' LIMIT 2")
Command was: SELECT count(*) as count FROM artefact WHERE owner=6 AND artefacttype='note'

In the file index.php line 20, i replaced  replaced :

$count = get_record_sql("SELECT count(*) as count FROM artefact...

by

$count = get_record_sql("SELECT count(*) as count FROM {artefact}...

And now it works perfectly!

Thanks

Emilie

anonymous profile picture
Account deleted
Posts: 12

17 February 2012, 9:19

Good catch,

I have corrected and updated the repo.

Thanks for the feedback.

5 results