Moodle for mobile

My Courses in MM

 
 
Picture of Juan Leyva
Re: My Courses in MM
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hi,

I've found two erros:

lang: {
component: "moodle"
}

is invalid it should be:

lang: {
component: "core"
}

And also, define(templates, function (sectionsTpl, contentsTpl, folderTpl, mimeTypes, participantsTpl, participantTpl) { should match with the templates set you define before, so it should be:

define(templates, function (participantsTpl, participantTpl, sectionsTpl, contentsTpl, folderTpl, mimeTypes, mycoursesTpl) {

 

Find attached the correct file

 
Average of ratings: -
Picture of y h
Re: My Courses in MM
 

Hi, I modified the code and no more errors but actually the result is not what I wanted because it gives me mycourses followed by contents and participants and I can't click on any of them what I wanted is like this (I want to have the list of courses (second picture) when I click on mycourses with content and  participants for each of them the same way it's displayed in the main page in your moodle mobile):

 

Do you have any suggestions or anyone else at least about my way to develop the plugin because what I did and already mentioned and attached is not giving me the result I want.

Thanks in advancesmile

 
Average of ratings: -