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 ArticleRe: 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 ArticleRe: Best debugging tool
by Howard Miller. Yep - it's not MVC - hurray!!! ......runs for cover......
View ArticleRe: $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 ArticleRe: $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 ArticleRe: 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 ArticleRe: 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 ArticleRe: $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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: $mform and form elements syntax??
by Joseph Rézeau. @Davo, What about using function data_preprocessing ? Joseph
View ArticleTheme- 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 ArticleRe: 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 ArticleRe: 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 ArticleHow 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 ArticleRe: 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 ArticleRe: How to Create New Modules with PHP?
by Daniel Stern. Thank you for the outstanding reply, Tim. Yes, hindsight is 20/20.
View ArticleRe: 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 ArticleRe: 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