add new block

add new block

by student std -
Number of replies: 4

Hi,
I have downlowded the GISMO block and added it to the Blocks folder, this add-on block appears in the site administration/ manage block  and it is active, but when I visit my  home and try to add this block using the " add a block " drop list, I don't find it there! 
how can I use this block? 

Average of ratings: -
In reply to student std

Re: add new block

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Two things you might have missed:

  1. Did you define the block/xxx:addinstance capability?
  2. Have you implemented the applicable_formats method, which determines which pages the block can appear on.
In reply to Tim Hunt

Re: add new block

by student std -

I have followed the documentation of the GISMO plugin but none of these 2 steps are mentionned,  how can I define the block capability and where to implement the applicable_formats method?

In reply to student std

Re: add new block

by Scott Krajewski -

You can only add GISMO inside a course, not at the main site level from what I remember.

 

-- Scott

In reply to student std

Re: add new block

by Yvonne Hamilton -

Hi, there are two components that the developers of Gismo made.

One called Gismo another called MOCLog.

  • Gismo is for teachers and students within a course
  • MOCLog for administrators with Site wide reporting.

Maybe you are confusing the two? http://moclog.ch/download/software/ they are two different things.

MOCLog would be visible on the Home page and Gismo would not.

Regards,

Yvonne

Attachment MOCLog.PNG
Average of ratings: Useful (1)