Creating a new Context
by Mark Chaney. Hi guys, This is in two parts. The first, is it possible, the second, should I.I want to create a new context when I install a new plugin. This will be a class that extends the base...
View ArticleSharepoint repository?
by Visvanath Ratnaweera. Since the topic came up, I'm interested in Sharepoint integration as a repository: "Using Moodle with Sharepoint or Alfresco"https://moodle.org/mod/forum/discuss.php?d=203440....
View ArticleStoring Files in Data Directory
by Michael Hughes. I was just wondering if there were any guidelines/established approaches to storing data in the Moodle Data Dir ($CFG->datadir)We're writing a local plugin to export data for...
View ArticleRe: What is {!} for in files/renderer.php?
by David Scotson. I think those changes in that file were actually just moved from repository/renderer.php, where (I think) the were first added a month before...
View ArticleRe: Javascript Init Call - Undefined
by Davo Smith. $jsmodule = array('name' => 'block_bcgt','fullpath' => new moodle_url('/blocks/bcgt/js/block_bcgt.js'),'requires' => array('node', 'event', 'panel', 'json'), // YUI3 modules to...
View ArticleRe: Javascript Init Call - Undefined
by Mark Chaney. Do you always have to pass the jsmodule then? (i.e. the YUI objects/doms you are implementing (cant think of the right word for them)).And I assume if there are no $opts (name value),...
View ArticleRe: Module developing, 2.4.1 dev -> modinfo object problem, not added to view
by Kate Sin. Hi again, maybe another question, more detailed:What function is responsible for getting my content from course.modinfo cache and generating content from objects to view in the course?
View ArticleActivity Lock and Activity Completion in Ver 2.4+
by Boaz Neeman_Golan. Hi All.I am using the last version, when trying to look for the Activity Lock and Activity Completion (after enabling it in "advaced featues"), I find only options to lock the...
View ArticleRe: Javascript Init Call - Undefined
by Mark Chaney. Tried your code changes and unfortunetly it has made no changes. M.block_bcgt is still undefined. Are there any settings or and includes I need to make to the block before I do all of...
View ArticleRe: Activity Lock and Activity Completion in Ver 2.4+
by Joseph Rézeau. Hi Boaz,Have you actually read the documentation here?Joseph
View Articlestyle.css and Theme css sheets not being accessed
by Mark Chaney. Hi guys, im not having a good day.How can I ensure that the style.css in a new block I am developing (and in a new Mod) takes effect? (lets assume that my css is correct).The same goes...
View ArticleRe: style.css and Theme css sheets not being accessed
by Mark Chaney. Ok. I was being stupid! I had forgotten to clear the caches. haha!So erm, yeh, clear the moodle caches! (admin, purge chaches).(How do you mark something as solved in these forums?)
View ArticleCheck Moodle Login from External Web Page
by Angelo Phillips. Hello Everyone,In our College we want to create an Intranet Page with a header and tabs that will open iframes.What i want to do is before showing the tabs to users, to check if...
View ArticleRe: style.css and Theme css sheets not being accessed
by Joseph Rézeau. @Mark,No, you're not stupid. It happens all the time, even to seasoned developers. Caches (and there are lots of them on a Moodle site) are invaluable on production sites but they...
View ArticleRe: Downloading files and database connection
by Tomasz Muras. Checking and confirming this is quite simple:Check your current database connections.Start long file download.Notice additional DB connection hanging exactly until download...
View ArticleRe: Downloading files and database connection
by Tim Hunt. Closing the DB connection sounds like a simple quick win, so I think we should do it now (although it seems you have looked in more detail than me and it is not completely...
View ArticleRe: Are there implications for changing types of database columns?
by Ray Morris. Which version of Moodle are you using? Most / all such problems should be fixed by Moodle 2.3.2. As someone else said, if you find some that aren't fixed in the current version, it...
View ArticleRe: style.css and Theme css sheets not being accessed
by Tim Hunt. If you are doing much development:Turn off Cache all language strings langstringcache.Set Text cache lifetime to No.Turn on Theme designer mode.Turn off Cache JavascriptYou can get all...
View ArticleRe: PLease HELP ..porfavor AYUDA::!!!!
by ignacio troncoso. Daniel, estoy haciendo lo mismo, pudiste arreglar la migracion del codigo a 2??
View ArticleRe: style.css and Theme css sheets not being accessed
by Davo Smith. If you don't want to turn all caching off (which can make for a slow site, even when just developing locally), you can also install the MDK Chrome plugin, which gives you a handy 'clear...
View Article