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

Re: How to get the section URLs for a course with PHP?

by Darko Miletić.  You should use course_get_url API// $course is full course object// $sectionno is section number$sectionno = optional_param('section', 0, PARAM_INT);$url = course_get_url($course,...

View Article


Block or Theme

by Yong Ra.  Does anyone know of any block or theme what will show unread postings in the forum on the login screen?I know there is a way when I enter the course and it will show me if there is any...

View Article


Re: Showing the shortname in more places

by James Henestofel.  I've created a tracker issue for this MDL-37558

View Article

Re: API call or this-> function to find the current course section?

by Darko Miletić.  This really depends where you are. If you are on the course main page you will have section parameter (or not) indicating you where you are:$sectionno = optional_param('section', 0,...

View Article

Re: Time for a new graph/chart library in Moodle?

by Darko Miletić.  YUI chart sucks because it does not output chart as image. YUI2 uses flash and YUI3 SVG. Hence it is virtually impossible to export those to image and generate static report in PDF...

View Article


2.3, can't get coursecategory layout to work

by tim st.clair.  In my custom theme, I'm trying to change the layout of the course category list page. In config.php I've added this to the $THEME->layouts array    'coursecategory'=> array(...

View Article

Re: Malware protection

by Tim Hunt.  Teachers are allowed to insert <javascript> and other dangerous stuff when they are editing teacher-only places like labels and quiz questions.This is, of course, a security...

View Article

Image may be NSFW.
Clik here to view.

Re: Malware protection

by Howard Miller.  Yike. Can this be disabled? My inclination is that I'd much rather they didn't

View Article


Re: Malware protection

by sam marshall.  Tim's already answered this but just to explain one detail about how it works which may be disturbing if you look in your database and don't realise: Moodle actually doesn't filter...

View Article


Git repository with block template available on github

by Daniel Neis Araujo.  Hello, inspired by https://github.com/moodlehq/moodle-mod_newmodule and following the instructions from http://docs.moodle.org/dev/Blocks i've made available at github a minimal...

View Article

Image may be NSFW.
Clik here to view.

Re: Malware protection

by Joseph Rézeau.  sam "... Note that neither approach prevents teachers from writing evil javascript if they actually want to: they would just need to put it into an html file in a File object."Great!

View Article

Re: Git repository with block template available on github

by Joseph Rézeau.  Correct URL of Daniel's github newblock repo is: https://github.com/danielneis/moodle-block_newblockJoseph

View Article

Re: Git repository with block template available on github

by Rex Lorenzo.  I love it! I would like to see more sample code for the different Moodle plugins. I did notice that in your db/access.php you seem to have an errant capability...

View Article


How to install Moodle 2.4.1 with mysql?

by Halil Türkoğlu.  Hello,I want to install the last version of Moodle in my website. However, my host only provides with mysql but not with mysqli. Is there a way for me to install the last version of...

View Article

Re: How to install Moodle 2.4.1 with mysql?

by Ken Task.  Since 2.4.1 is the latest and greatest ... many, including myself, are still 'growing accustomed'/learning the new, I'll stick my neck out ... bottom line, I'd say no, sorry.Even in the...

View Article


Re: How to install Moodle 2.4.1 with mysql?

by Paul Nicholls.  Hi,Those options are database drivers - not different types of database.  The "mysqli" option is a driver for MySQL databases - and I'm pretty sure that Moodle will only list drivers...

View Article

Re: Block or Theme

by Carina Martinez.  Hi Yong,If you set "enabled" for field "Read tracking for this forum?" of a forum, participants can track read and unread messages in the forum and in discussions, It shows this...

View Article


Re: Time for a new graph/chart library in Moodle?

by Damyon Wiese.  Rgraph is not GPL,It is Creative Commons Attribution Non-Commercial which is incompatible with the GPL (http://www.gnu.org/licenses/license-list.html#ccby). We would have to contact...

View Article

Re: Mightily confused by file storage

by Dan Poltawski.  I'm not sure.. moodle=# select filepath,filename from mdl_files where filename like '%.mbz'; filepath | filename ----------+---------------------------------------------------------...

View Article

Re: Malware protection

by Dan Poltawski.  Yes, see the capability moodle/site:trustcontent and Admin > Security > Site policies > Enable trusted content.

View Article
Browsing all 37669 articles
Browse latest View live


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