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

Re: plugin function in custom block

by Jitendra Gaur.  You can found your solution in this forum - https://moodle.org/mod/forum/discuss.php?d=218454

View Article


Re: course not completed

by Jitendra Gaur.  Hi Nikhil,From moodle 2.x version course_completions is nessesory  table to log the completed course by the student. so you need to first configure the course completion settings...

View Article


List of users who are registered a course or all courses

by yuki yuki.  Does anyone no sql command about: How can I get list of users who are registered one course or multiple course or All courses? [I dont require a user list who is only register at site.]...

View Article

Re: 3 Bugs: version latest 2.4.1+ five days ago

by Helen Foster.  Hi Ralph,Thanks for your feedback about Moodle 2.4.1. In order to help developers to investigate and hopefully fix the bugs, please could you make sure they are reported in the Moodle...

View Article

Re: 3 Bugs: version latest 2.4.1+ five days ago

by Ralph Deeper.  Helen,yes, sure. I'm kind of a newbie in the forum. Should I send the above info in the Moodle Tracker now?Ralph

View Article


Optionality in Moodle forms with a group.

by Gareth J Barnard.  Hi,I have the following code for MDL-37490:$name = get_string('duedate', 'assign').$OUTPUT->help_icon('duedate','assign');$duedateelements[] =...

View Article

How can I make an admin_setting_* field require a value?

by Joshua Johnston.  HI,I have a few admin settings that require an admin to enter a value. Is there a flag on the admin_setting subclasses that would make sure the field is not empty? I would hate to...

View Article

Can a new plugin be both a Mod and a Block?

by Matt Chambers.  Hello ALL. I am creating a new plugin that I want to be accessible as a block. It will sit on a course or several courses i think and I want it to be able to access multiple courses,...

View Article


Is there a thing called a blocks context?

by Matt Chambers.  Can I ask if I have my understanding correct:Course context is asking if the user is someone on this course (teacher, student etc. ). Then its saying, the role they are in, does it...

View Article


Re: How can I make an admin_setting_* field require a value?

by Darko Miletić.  You have to subclass each type. Settings library is major PITA. Begs for a rewrite.

View Article

Re: How can I make an admin_setting_* field require a value?

by Darko Miletić.  Be also careful with that check and make sure it does not prevent module from being installed. During module installation Moodle will detect and offer settings for a user to set of a...

View Article

Re: Can a new plugin be both a Mod and a Block?

by Darko Miletić.  > Hope that makes sense. ...... MattNot really. Be more specific. And no single module can not be both block and activity at the same time.

View Article

Advanced Grading in Forums

by Nate Baxley.  Has there been any work done on putting advanced grading into forums?  I looked in the tracker and didn't see anything.  I ask because we have are interested in adding this feature and...

View Article


Re: Is there a thing called a blocks context?

by Tim Hunt.  Well, your wording is not clear. A course context does not ask anything. It is a thing, not a question.If you understand object-oriented programming, then one way to understand it is that...

View Article

Re: How can I make an admin_setting_* field require a value?

by Joshua Johnston.  Thanks for the insight. It looks like I'd be better off making a custom settings page and having an 'enable' checkbox that controls the settings that I want to make required....

View Article


Re: Optionality in Moodle forms with a group.

by Gareth J Barnard.  Cracked it using 'disabledIf'.  Thanks to all those who read the post.  Details on the above tracker.Cheers,Gareth

View Article

Image may be NSFW.
Clik here to view.

Are there implications for changing types of database columns?

by Gregor McNish.  We're using MS-SQL (yes, I know...) so there's various issues with comparing ntext columns. I've fixed some of these by casting to nvarchar(max), but some code is more abstract.These...

View Article


Re: How can I make an admin_setting_* field require a value?

by Tim Hunt.  I think a more feasible option is to just have your plugin display a polite error message if it is not set up properly.Think about this scenario: an admin installs your plugin into their...

View Article

List of resources

by Mark B.  Hi there,I have currently developed a script which counts the number of resources in each course, i do this by checking for the course id in the URL, resource, quiz labels table.  In the...

View Article

Image may be NSFW.
Clik here to view.

Images are not displayed in my moodle site!

by Alhad Deshpande.  Hello Friends,I have installed moodle on my openSuse 11 server. I am using it on my local system to conduct online examinations for the students in my institute. So, students...

View Article
Browsing all 37673 articles
Browse latest View live


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