Custom block or page

piwitime
Forums
Hi, I have 2 questions which I cant figure out. Im trying to create a resources area for a course, thats available like the Files button or the forum button. For example creating a glossary page that is linked to the course and only students of that course can access that page. The second question is similar but this time adding a HTML5 games link for the course . Is that possible in opigno? Any help is greatly appreciated. Thanks
James Aparicio

Hi piwitime,

Hi piwitime,

Its pretty simple, regarding a custom tool. You just have to create your own module and implement the hook_opigno_tool. You can easily also create an organics group permission to allow users to access or not that specific page. That way you have fine control on who can access it and you can even set it diferently for different courses in the settings of the course. 

Regarding the HTML game links you could do the same thing. Either make the tool a single page where you could add all the links or create a content type and make the tool link to a view that lists all the node games associated to that specific course.

Opigno was build to easily allow people to extend / customize it.

 

Best regards

piwitime

Hi James

Thanks for replying, I dont know anything about modules, what I did was clone a view and change some settings to show resources for specific course (a custom view or page). Do you know of any tutorials for creating my own module? For HTML5 game , I want to run it within a slide or within a page. Thanks James!
James Aparicio

Hi piwitime,

Hi piwitime,

https://www.drupal.org/docs/7/creating-custom-modules