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

Re: How to used disabledIf on a radio element inside a group in mform?

by Tim Hunt.  Well, clearly it should work, so the fact that it does not is a bug. Report it in the tracker.

View Article


Image may be NSFW.
Clik here to view.

Re: How to used disabledIf on a radio element inside a group in mform?

by Joseph Rézeau.  @Tim, already reported as MDL-18522, as mentioned in my original post. But that bug is closed and I can't re-open it.Joseph

View Article


Moodle 2.4 SQL/database relationship for role courses

by Mark Chaney.  Hi guys, Ive looked around the forums and looked around the code and just want to clarify what the relationships are between courses and roles etc.Im trying to find how to find all...

View Article

reference theme folder within included javascript?

by tim st.clair.  so .. my theme is including my javascript files in the head, but in a plugin I need to configure the location of known resources for the script to work. I can host these in my theme...

View Article

Re: From Sharepoint to Moodle using SSO

by Sixto Martin Garcia.  Simlplesamlphp as SP is compatible with ADFS...so you can use my saml plugin for moodle: https://moodle.org/plugins/view.php?plugin=auth_saml

View Article


Re: Problem with mod_form file. Javascript with forms

by Jamie Pratt.  The problem will almost certainly be that your definition of the select boxes in php also tells Moodle forms how to clean the input from the form for security. The select element will...

View Article

Re: Created activity template, plugin remains "To be installed"

by Marcus Green.  Can you provide more information.

View Article

Re: Created activity template, plugin remains "To be installed"

by Joseph Rézeau.  @Yves,There is obviously something wrong with your plugin, but we can't tell you what it is without more information. Can you attach your plugin to your next post?Joseph

View Article


Re: Intercepting LDAP information on profile creation

by Patrick Pollet.  Hello,      See function get_userinfo($username) in auth/ldap/auth.php if you use LDAP or in auth/cas/auth.php if you use CAS authentication.Cheers      

View Article


Re: Intercepting LDAP information on profile creation

by Josh Westlake.  Excellent, works nicely thank you. Originally I wanted to avoid impairing the auth plugin's ability to send 100% valid data in case I needed it for other purposes, but this solves my...

View Article

Re: uploaduser.php enhanced to upload also courses

by R.T. Brown.  Hi Rosario,My apologies if the answer to my question has been posted elsewhere. Does the script only enroll students whose accounts are created at the time of upload, or does it...

View Article

Image may be NSFW.
Clik here to view.

Re: Intercepting LDAP information on profile creation

by Patrick Pollet.  Glad you made it ...To make it 'portable' in any institution I suggest that you add in Moodle config.php file a string such as $CFG->companyname='mycompany.com';and change you...

View Article

Re: How to used disabledIf on a radio element inside a group in mform?

by Joseph Rézeau.  I think I've got it. Radio buttons included in a group all have the same name, unlike any other elements included in a group in a moodle form.When a moodle form is output to HTML,...

View Article


Re: Intercepting LDAP information on profile creation

by Matteo Scaramuccia.  Hi All,why not including the customization within the current code check?It could be also filed into the Tracker as a minor improvement, though the use case could be not so...

View Article

Re: Intercepting LDAP information on profile creation

by Josh Westlake.  Thanks to both of you for the additions, I agree that some small tweaks give a lot more flexibility.@Matteo I like your switching idea, hadn't thought that far ahead but I do have...

View Article


Re: How to used disabledIf on a radio element inside a group in mform?

by Joseph Rézeau.  Actually I was confusing the contents of the moodle form and the HTML output.I have finally found a workaround and am providing a - provisional - patch in MDL-37954.Joseph

View Article

Re: Created activity template, plugin remains "To be installed"

by yves wheeler.  Thank you for your reply Joseph, here is my plugin. it's pretty much the newmodule from the GIT hub, all I've changed is the name of it as instructed by README.txt, I tried deleting...

View Article


Re: Implementing Admin Settings pages, etc

by Shawn Drake.  Hi Joshua,I am currently looking for a way to do the exact same type of thing with my plugin. You are correct that it is either not a part of the "Moodle Way" at this point, or it's...

View Article

Re: Implementing Admin Settings pages, etc

by Shawn Drake.  FYI, I found this post which was very helpful: https://moodle.org/mod/forum/discuss.php?d=169124)

View Article

Re: Activity Lock and Activity Completion in Ver 2.4+

by Boaz Neeman_Golan.  I have read it, and enabled it with my site (see image),though in the activity settings, I do not have the activity completion as it should. I have only Time & Grade...

View Article
Browsing all 37907 articles
Browse latest View live


Latest Images

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