message if no period
get edit icon from moodle pix
new capability addinstance