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

Re: Set activity completion using PHP

by Darko Miletić.  Yes for using any Moodle API config.php is a must. Than add any additional libraries you intend to use.In this case you would need these:require_once(<relative path to...

View Article


Image may be NSFW.
Clik here to view.

Old bugs and the system works!

by mandy honeyman.  I just wanted to say thank you, you developers, for your persistance and diligence in solving a bug I first reported in 2006 on version 1.5.3. You really are all amazing....

View Article


add a block by default to a certain region

by edu g.  Hi,I'm a beginner developing with Moodle 2.2.6. I needed a custom header, I created a block and a region in my theme. Now I can place manually the header in th correct region.I need this...

View Article

2.4 Mouse Hovering...want it turned off

by G. A. Dietrich.  We just updated to 2.4 and in the update when we are in our courses and hover over any piece in the course we are getting a grey hover box around the item. How can we turn this off...

View Article

Re: 2.4 Mouse Hovering...want it turned off

by G. A. Dietrich.  Someone kindly pointed out to me that I needed to add this code to my core.css file..sitetopic .section .activity:hover, .course-content .section .activity:hover { background-color:...

View Article


Re: Changing "Courses" on the homepage

by Yong Ra.  It worked like a charm. Thank you.

View Article

Re: Databases: Trouble Running Multiple Queries in 2.0

by Herson Cruz.  Same issue here!

View Article

Re: add a block by default to a certain region

by Rex Lorenzo.  What we do is specific the block method "specialization()". You can see that this method exists in the block_base class at blocks/moodleblock.class.php.This function is called whenever...

View Article


Newbie question - SCORM and Data

by Mike Mohr.  Not sure if this belongs here so forgive me if this isn't the correct place to ask this. We have a very limited LMS (it can do more but they won't turn on certain features becaue no one...

View Article


Image may be NSFW.
Clik here to view.

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

by Brian Merritt.  Hi developersHow please do I get the URL for each section in a course?Background:I have created a function in a theme/new_theme/renderers.php to add the current class and sections in...

View Article

Where to integrate the script of InfoLinks ?

by Roberto Azar.  Hi all !From the geneal forum sent me here...Using the theme ( generally in my other sites I put it in the indextemplate ) /theme/standarwhite I need to integrate the script of...

View Article

Re: Newbie question - SCORM and Data

by Ankit Agarwal.  Am not sure I fully understand what you are trying to achive, but have a look at Moodle's external aicc package support. It allows you to create/launch a scorm activity from Moodle,...

View Article

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

by Ankit Agarwal.  I haven't tested but something like this should work $format = "format_".$currentcourse->format;$format =  new $format();$format->get_view_url($section, null); 

View Article


Re: Set activity completion using PHP

by Anton van der Merwe.  Thank you Darko!

View Article

trigger mail with marks

by roc mehra.  Hi All,Any solution for thatemail should be triggered to teacher and student once he will submit the test with marks details

View Article


Re: Moodle 1.9 Long Term support

by Alex 09.  Well it was worth a try. Our plan is just to start with a clean install of whatever is the latest Moodle release come the summer. I'll then rebuild any courses that the teachers want...

View Article

Image may be NSFW.
Clik here to view.

Re: HEADS UP: Moodle 2.4.1 and other minor versions coming Mon 14 Jan

by Séverin Terrier.  Hi,Nice to have these new versions.But, i've downloded latest Moodle 2.3.4.tgz, and when extracting it, all files and directories are dated with packaging date All other previous...

View Article


Image may be NSFW.
Clik here to view.

Organisational Hierarchy plugin - request for feedback

by Joe Barber.  Hi all,I am in the process of designing a Moodle plugin that supports the creation of a customisable organisational hierarchy. As I'm not aware of a plugin that currently supports this,...

View Article

Image may be NSFW.
Clik here to view.

Re: Organisational Hierarchy plugin - request for feedback

by Flotter Totte.  Hi Joe,Thanks for sharing this!My suggestion is to build the hierachy recursively based on the reporting line. The only field needed is a field indicating to whom a person reports....

View Article

How can I get the Behat integration working with the current code?

by Matt Gibson.  I just tried and failed to get the Behat stuff working. Here's what I did:upgrade MAMP to latest version with PHP 5.4install PHPUNit using PEARcreate a directory and clone the...

View Article
Browsing all 37670 articles
Browse latest View live


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