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

Delete block tables during uninstalling!

by Azmat Ullah.  Hi!I have successfully made block plugin but one issue arise when I uninstall the block,database tables of block can't delete.I want to ask some specific questions.1) Can I delete...

View Article


Re: Delete block tables during uninstalling!

by Ankit Agarwal.  Hi Azmat,The database tables should be dropped automatically when the plugin is uninstalled. This might help you have a...

View Article


Re: Solving Moodle's edit mode clutter

by Frankie Kam.  Hi DamyonI've pinned it down to this code. In /course/lib.php, line 3243 onwards (Moodle 2.4):if ($moveselect) {   $actions[] = new action_link(   new moodle_url($baseurl, array('copy'...

View Article

Re: Moodle flavour for development

by Hubert Chathi.  Would it be useful to have a "flavours" category in the plugins database so that there is a central place for people to share their flavours?  Or if not the plugins database, some...

View Article

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

by Hubert Chathi.  FWIW, pChart 2 has an odd license.  According to the licensing page, if your application is non-commercial, then you can use the GPL 3 license.  If your application is commercial,...

View Article


Re: Moodle flavour for development

by Jenny Gray.  My +1 for a flavours category in the plugins database. I've been promising for ages to (but never getting round to) write a flavour for using Moodle to host open courseware and that...

View Article

Let's create a working example of a FileManager

by Andrew Normore.  Hi every one, I've been using Moodle for 6 months, and CANNOT figure out how to build a filemanager properly. I've seen many posts about the same topic, so let's provide a working...

View Article

Image may be NSFW.
Clik here to view.

Re: Solving Moodle's edit mode clutter

by Frankie Kam.  Almost one year on from Mark Ward's original post (top of this page), and I think I've made the autohide feature more minimalistic, to reduce EVEN MORE clutter, at least to me.I'm...

View Article


Re: Let's create a working example of a FileManager

by Abdul Bashet.  Hi there,I was also stugling with filemanager. I was looking for exactly code, so I can understand how it works! But I couldn't find. But now it is very easy and simple for me. I...

View Article


File Manager Example 100% working

by Abdul Bashet.  Hi there,I was stugling with filemanager. I was looking for exactly code, so I can understand how it works! But I couldn't find. But now it is very easy and simple for me. I thought...

View Article

Re: Useful SQL Queries? - find links to youtube, vimeo, etc.

by shivram gawde.  Please can any one tell me what should be the query to check if user has viewed the course and one for users who have completed the course

View Article

Re: Let's create a working example of a FileManager

by Davo Smith.  An example of where it would not be null:$entryid = required_param('entryid', PARAM_INT);$entry = $DB->get_record('myplugin_entry', array('id' => $entryid));That is, if you have...

View Article

Re: Let's create a working example of a FileManager

by Davo Smith.  I had a quick glance at the code - most of it looks reasonable, but I'd really avoid using DB queries to search through the 'files' table. In the case you showed,...

View Article


Re: File Manager Example 100% working

by Céline Perves.  Thank you for your code, I'll take a look at it since I'm working on 1.9.x migration of files from a kind external file storage to private_file repository.

View Article

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

by Hubert Chathi.  I'm not aware of any activities in Moodle core that do PDF exports (nor am I aware of anything in Moodle core that generates PDFs in a cron, which I talk about in another post).  I'm...

View Article


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

by Davo Smith.  The book module (core from 2.4 onwards) does PDF export.

View Article

Re: Let's create a working example of a FileManager

by Andrew Normore.  2

View Article


Image may be NSFW.
Clik here to view.

Re: Solving Moodle's edit mode clutter

by Frankie Kam.  Got it working. At long, long, last!and then when I move the mouse pointer down,Fantastico! At last my quest is complete. The autohide.css code I am using can be downloaded from...

View Article

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

by Joseph Rézeau.  @Davo,Looking at the Book module on Moodle 2.4.1+ (Build: 20130118) I do not see any "PDF export" setting.Joseph

View Article

Implementing Admin Settings pages, etc

by Joshua Johnston.  Hi everyone,As of now I have a basic form with a few fields using default values and the likes. What I would really like is for checkboxes to dynamically enable/disable dependant...

View Article
Browsing all 37667 articles
Browse latest View live


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