Re: Moodle and SEO: course access to crawlers
by Jenny Gray. The blog post I referred to above has moved to here http://ltsdevmusings.wordpress.com/2012/04/02/seo-and-moodle/.I strongly recommend that you use the mod_rewrite and mod_proxy apache...
View ArticleHow to print something in image.php in themes folder..it does not showing any...
by kingshuk deb. Actually i want to know the path of the logo which is coming in frontend moodle i get this code "url(setting:logo)" in afterburner_styles.css...this...
View ArticleGetting Topic Number in the Body Tag
by Mike Chalmers. Hello,I'm working with a modified bootstrap theme and am looking to create sub-menus for support sections with HTML blocks on the left sidebar.One of the features I'm trying to...
View ArticleRe: Moodle and SEO: course access to crawlers
by Matteo Scaramuccia. Hi Jenny,some time ago I've started creating some rewrite rules, https://github.com/scara/moodle-local_sef/blob/master/README-SEF.txt, with the idea to code something I'd like...
View ArticleRe: Moodle and SEO: course access to crawlers
by Jenny Gray. If you pair that with a new renderer function to display a link (and used it consistently everywhere) you could also allow sites to choose between SEO urls and normal urls. This would...
View ArticleRe: Moodle and SEO: course access to crawlers
by Matteo Scaramuccia. Hi Jenny,that was/is my goal: already done for another PHP-based OSS project, some years ago.moodle_url should/will be used everywhere in Moodle... BTW, I'll keep this post...
View ArticleRe: Feedback requested on new Events system specification
by Tim Hunt. Re 3: Whatever event classes we end up with, presumably there will be some class hierarchy (or interface hierarchy). So, you let us suppose we have some interfaces / base classes like...
View ArticleRe: Automatic Class Loading Proposal
by Tim Hunt. I agree that this might be the moment to re-consider namespaces in Moodle. Can someone remind me why we rejected them last time?
View ArticleRe: Feedback requested on new Events system specification
by Petr Škoda. Hello, thanks for the feedback. 1. One event is not supposed to be triggered in different locations, the events are not general. Defining one class per event is the way to go. It is a...
View ArticleRe: Automatic Class Loading Proposal
by Petr Škoda. Hehe, I have just independently arrived to the same conclusion about namespaces (when discussing it with Fred), then Tim pointed me to this post, great!I have already tested it and it...
View ArticleRe: Getting Topic Number in the Body Tag
by Mike Chalmers. Does anyone have any info or leads that may help?
View ArticleBlock Install notification
by Mark Williamson. Hi,Is there a method that gets called during a block install or update.I know the init() method can get called when ever a block is being used / accessed, however I would like to...
View ArticleRe: Feedback requested on new Events system specification
by Tim Hunt. I still don't understand 2."2. The triggering details are encapsulated inside the event because it helps with keeping everything under control - it is extremely important to prevent...
View ArticleRe: Query to fetch both students and teacher of a particular course
by Davo Smith. Off the top of my head (and assuming Moodle 2.x, as you haven't specified 1.9):SELECT u.firstname, u.lastname, r.nameFROM mdl_user_enrolments ueJOIN mdl_user u ON u.id = ue.useridJOIN...
View ArticleRe: Feedback requested on new Events system specification
by Petr Škoda. Under control === private properties and final methods can do that. Developers can not modify it in any way. Your trigger($event) requires multiple public methods that can be used in...
View ArticleRe: Automatic Class Loading Proposal
by Davo Smith. Having read most of what has gone back & forth on this thread, I'm inclined to agree with Tim that I don't like excessive nesting of subdirectories (and I am an IDE user myself -...
View ArticleRe: Query to fetch both students and teacher of a particular course
by A Karthik. Hi Davo,Am using Moodle 2.4. Thanks for your reply. But i couldn't get it right with the above query.I thought of doing the following way:check if assignment is present in mdl_assign...
View ArticleRe: Access Moodle DB From Block Code
by Mark Williamson. I have successfully managed to pull data out of the DB now. However, when I try insert or update any kind of data I get an error. Coding error detected, it must be fixed by a...
View ArticleRe: Feedback requested on new Events system specification
by Tim Hunt. I don't uderstand the "Under control === private properties". Another example is contexts. Of course, the internals of contexts need to be kept under control, and they are. We have public...
View ArticleRe: Feedback requested on new Events system specification
by Petr Škoda. Events are not contexts. event->trigger() does a lot more than just triggering of the event (see my sample code), clearly external function or method trigger($event) can not do that...
View Article