Mforms and AJAX with YUI3
by jos cape. I would like to be able to have mforms that can be displayed and processed without new page loads, so using AJAX. I have come across this guide --...
View ArticleRe: Mforms and AJAX with YUI3
by Antonio Garmendía. Dear Jos,I'm working with that too. Could you put the code from form_ajax.php?Thanks in advance,Cheers,Tony
View ArticleRe: Mforms and AJAX with YUI3
by jos cape. Hi Tony,The form set up as described in the guide -- http://docs.moodle.org/dev/User:Mark_Johnson/Mforms_and_AJA -- works fine.It is more or less the standard Moodle form set up, the only...
View ArticleRe: Image to pdf via plugingile.php
by Michal Novák. Hi,now i think i know where is the problem. My export script doesn´t have permission to view pluginfile.php/54/mod_lesson/page_contents/8/Moodle2erd.png so can you tell me how to...
View ArticleRe: Mforms and AJAX with YUI3
by Antonio Garmendía. Hi Jos,I saw already that page, but I don´t understand that part. With firebug I see that 4(see the picture) parameters are sending but I don't know wich is the way that I have...
View ArticleRe: Mforms and AJAX with YUI3
by Tim Hunt. mod_forumng used to do a completely ajax-y mform, when you replied to a post. However, sam chaged it to just display the new post form in an iframe. The iframe is still added using Ajax,...
View ArticleAdditional checking when developing a plugin/filter/theme/block:
by Renaat Debleu. Things one can do before publishing a plugin/filter/theme/block:Enable debugging : Home > Site administration > Development > DebuggingDebug Messages : DebuggerDisplay...
View ArticleRe: Image to pdf via plugingile.php
by Davo Smith. One option is to grab the contents of the file (via $file->get_contents()), then call base64_encode() on the contents and then output the image tag as:<img src="@[base64 encoded...
View ArticleRe: Testing weekly course format -- editing dates
by David Hempy. I'm interested in this as well. Our organization is developing courses that will be deployed many times over, with a different calendar range applied in each iteration. Not only will...
View ArticleRe: Image to pdf via plugingile.php
by Michal Novák. I am using mPDF and somethink like this $html = file_rewrite_pluginfile_urls($html, 'pluginfile.php', $file->contextid, 'mod_lesson', 'page_contents', $file->itemid);Html is...
View ArticleRe: Image to pdf via plugingile.php
by Davo Smith. I'm not sure why you have chosen to use mpdf, instead of TCPDF (which is already available in Moodle core, via lib/pdflib.php). It is almost certainly the case that the mpdf library...
View Articlesql query group by name and average
by Mike Glazebrook. I am new to sql and am having a hard time figuring out what to query in order to get a google pie chart functioning correctly.SELECT `rank`, `firstname`, `email`,`username`FROM...
View ArticleRe: sql query group by name and average
by Darko Miletić. This would be the correct base querySELECT res.id, res.rank, u.firstname, u.email, u.usernameFROM mdl_questionnaire_response_rank res,mdl_questionnaire_response...
View Article2.5 Bootstrap features
by David Lowe. Hello, I'm currently massaging our new theme based on the 'clean' theme in 2.5. I'm pretty comfortable saying I know my way around bootstrap & jquery but Moodle+boostrap+YUI not so...
View ArticleRe: sql query group by name and average
by Mike Glazebrook. You know I replied to your post asking how to get all the users and it turned out that I had already had them. Not sure what I was thinking. This is exactly what I needed.Thanks a...
View ArticleRe: sql query group by name and average
by Mike Glazebrook. do you know how I could get the current user to show compared to an average of all the others? The label would then have to change from a name to something like average. If not no...
View ArticleRe: sql query group by name and average
by Mike Glazebrook. the image is more so the reason I ask for the query for a singel user. I am trying to make a line chart that charts a users responses. I want one user (current / logged in) to be...
View Articleissue in new grade report
by mughees ilyas. It seems that i am unable to return combobox value into my php codei have diferent types of reports , i just want to return combobox 1 value back in my code so i can open a block...
View ArticleRe: Assignment assignsubmission_mahara plugin
by Jez H. Hi Aaron,I understood what you meant, that your idea was an alternative .If the "Copy" process is faster then that would make a lot of sense.It would be fair to say we have more issues with...
View Article