Quantcast
Channel: General developer forum
Browsing all 37669 articles
Browse latest View live

Re: Is there a way to add the users role to the body wrapper?

by Joseph Rézeau.  Hi Brian,Are you not trying to re-invent a feature which already exists in Moodle: the Roles feature?Joseph

View Article


How can i get all activies for a course?

by Black Dream.  Hello, I want to make a block to get all the activities for a course. When i am saying activities i need these http://docs.moodle.org/24/en/Activities.For example a simple output would...

View Article


Image may be NSFW.
Clik here to view.

Re: How can i get all activies for a course?

by Joseph Rézeau.  

View Article

Image may be NSFW.
Clik here to view.

Re: How can i get all activies for a course?

by Black Dream.  Hello,I want the functions in PHP. I don't know what is this you showed me above. Thank you

View Article

Re: How can i get all activies for a course?

by Davo Smith.  get_fast_modinfo()

View Article


Image may be NSFW.
Clik here to view.

Re: Modform - Change amount of Input-Fields with GetParam

by Julian Jan..  Yes that´s what i meant ( sry im not natively speaking english, hope my english isn´t to hard to read  ).Back to the topic, what you suggested really was the way to go reach what i...

View Article

Find total time spent into course

by jigisha variya.  Hello friends,My problem is that i want to find total time(into hours) spent by user into courseCan anybody help me , how do i find this solution.May i use log table into databse....

View Article

Re: Find total time spent into course

by Marcus Green.  Are you sure that is going to be useful. If they login at One 12 O'Clock and the last activity of the day is at 6 O'Clock it will imply they spent 6 hours on the course. However...

View Article


Re: Find total time spent into course

by Rex Lorenzo.  Take a look at this plugin:Course dedicationhttps://moodle.org/plugins/view.php?plugin=block_dedication"This block allows to see the dedication estimated time to a Moodle course by the...

View Article


Image may be NSFW.
Clik here to view.

Re: How can i get all activies for a course?

by Joseph Rézeau.  @"Black Dream", What I showed you is one of the standard "blocks" that you can add to any course in Moodle. It seems that you are wanting to re-invent the wheel.

View Article

Re: Find total time spent into course

by Matteo Scaramuccia.  Hi All,there is also the Attendance Register, https://moodle.org/plugins/view.php?plugin=mod_attendanceregister.Again, it aims to estimate the time spent by the students; it...

View Article

Re: How can i get all activies for a course?

by Black Dream.  Hello, Yes it seems that this is the function i want. I used it like this:$info = get_fast_modinfo($theCourse);And the output was course_modinfo Object( [course:course_modinfo:private]...

View Article

Re: How can i get all activies for a course?

by Davo Smith.  You could always try looking at some of the functions included in the class course_modinfo - https://github.com/moodle/moodle/blob/master/lib/modinfolib.phpOr, possibly, search through...

View Article


Re: Is there a way to add the users role to the body wrapper?

by Danny Wahl.  Joseph is right you should look into roles and contexts and it will probably do what you're looking for.

View Article

Add grading funtionality to activity module

by Kate Fernando.  Is there way to add grading functionality to activity module?I integrated etherpad as an activity module to the moodle. What I needed is to add grading functions such as in...

View Article


Re: Block or Theme

by Yong Ra.  Cool, I will give it a try. Thank you.

View Article

Re: Programming with Eclipse

by Michael Aherne.  You're right about that page. It used to be an extremely useful resource, but it has become quite out of date. I'd be happy to help to try to update it.

View Article


Re: Programming with Eclipse

by Marcus Green.  I prefer Netbeans to eclipse but I find that xdebug is wildly less stable under Netbeans. This appears to be true for both Windows and Ubuntu Linux.MG

View Article

Re: Programming with Eclipse

by David Bezemer.  An official plugin has already been released for Eclipse, available at http://www.eclipse.org/egit/developed by GitHub and various other Eclipse pro's I havent had any issues with...

View Article

Re: Programming with Eclipse

by Ankit Agarwal.  For git I normally use terminal, there is something called Egit for eclipse, but I prefer a terminal instead. If you want you can integrate a terminal window with your eclipse, by...

View Article
Browsing all 37669 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>