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

Re: $mform and form elements syntax??

by Davo Smith.  This seems like a lot of hard work, not to mention it would have to be written in Javascript and would stop working if that was switched off. Would it not be easier to just copy the...

View Article


Image may be NSFW.
Clik here to view.

Re: Best debugging tool

by Howard Miller.  I used to carve PHP into Limestone with copper tools I'm not averse to such tools. I (confession time) spent lots of years writing Pascal / Modula-2 / Delphi with proper IDEs and...

View Article


Re: Best debugging tool

by Howard Miller.  Yep - it's not MVC - hurray!!! ......runs for cover......

View Article

Re: $mform and form elements syntax??

by Paul Caliban.  Thanks Yep a craZy client request. By Copy I assume you mean you want the "USER" to SELF copy   via Ctrl-C/Ctrl-V I agree, but the client does not want to even show the PROMPT for...

View Article

Re: $mform and form elements syntax??

by Davo Smith.  No, I definitely did not mean ask the user to use Ctrl-C / Ctrl-V to copy the username across, what I meant was something like this (in PHP, after the form has been submitted): function...

View Article


Image may be NSFW.
Clik here to view.

Re: Moodle 2 - bulk delete files in My private files repository?

by koen roggemans.  Yep, I voted too. I have about 60 files I want to get rid of, that's 180 clicks. I uploaded and unzipped a well populated zip file

View Article

Re: Change order of activity and resource radio button list

by Tim Hunt.  The place the list of activity types is built seems to be the get_all_mods function in course/lib.php - the first bit of that function. At the moment the list is sorted alphbetically....

View Article

Image may be NSFW.
Clik here to view.

Re: $mform and form elements syntax??

by Paul Caliban.  Perfect Thanks much..... The trick I find is to trace the pgm flow enought to catch the Function before the insert to the DB happens....  After some study of the code I get the flow...

View Article


Re: Exporting information to Excel

by Simon Story.  Hi Vijay,Have you considered setting the database up as an ODBC data source for excel to query? There are ODBC drivers for mysql and postgres. Like this:...

View Article


Re: Exporting information to Excel

by Vijay N.  Hi Simon,   No I haven't - not very familier with ODBC but can look into, But I still think there will be some php scripts required as part of our requirements is to download this...

View Article

Re: Change order of activity and resource radio button list

by Joseph Rézeau.  Paul, this does not answer my question "Do you want to have the list of Resources before the list of Actitivies or, within each list do you want to change the item order" Joseph

View Article

Re: $mform and form elements syntax??

by Joseph Rézeau.  @Davo, What about using function data_preprocessing ? Joseph

View Article

Theme- style changes issue

by saeesh dharwadkar.  i hate the caching feature in moodle. so i just when in theme directory and style.php.....line number 74 and commented the following line of code.... if...

View Article


Re: Bigblue Button Recording activity error

by Séverin Terrier.  Hi, You'd better post in the Web conferencing plugins forum... Or if a moderator can move this thread from General Developer forum to the most appropriate one. Séverin

View Article

Re: Theme- style changes issue

by Davo Smith.  If the caching is causing you a problem whilst developing a theme, then 'Site admin > appearance > themes > theme settings', then ticking 'theme designer mode' should solve...

View Article


How to Create New Modules with PHP?

by Daniel Stern.  Hey gang. Long-time coder, first-time moodler here. We are basically trying to design a PHP library here that can add a course and then add modules to it automatically based on a CSV...

View Article

Re: How to Create New Modules with PHP?

by Tim Hunt.  Presumably it does not really help you if I point out that: were you using a more up-to-date Moodle release like Moodle 2.3, you could use the web service system to do this. See...

View Article


Re: How to Create New Modules with PHP?

by Daniel Stern.  Thank you for the outstanding reply, Tim. Yes, hindsight is 20/20.

View Article

Re: Add activity at section 0

by Irma Gamez.  Hi.  This site has resorces at section 0  http://moodlecommons.org That´s what Ia need. What files do I need to edit? Thank you.

View Article

Re: Add activity at section 0

by Derek Chirnside.  As Mary has said, if you want to copy what they have done at  http://moodlecommons.org you don't need to modify the code, just turn editing on and add the activity.  As for the...

View Article
Browsing all 37669 articles
Browse latest View live


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