R0.22 and earlier: No Longer Supported

[Solved] Auth plugin

More
15 years 9 months ago #31 by Antonio Durán
Replied by Antonio Durán on topic Re:Auth plugin
Nothing. I only saw the one from moodle admin....
The topic has been locked.
More
15 years 9 months ago - 15 years 9 months ago #32 by tom maguire
Replied by tom maguire on topic Re:Auth plugin
Trying again because I think this might be where I'm going wrong.

When I select <NEW> in the module manager I then select <Joomdle courses>.

The manager asks for a name and when I save it, it tells me I now have a module called by the name I supplied of type mod_joomdle_courses.

This is enabled and the name appears on the page at the front end.

This doesn't sound like your description?

Screenshots have stopped working - too many pixels
Last edit: 15 years 9 months ago by tom maguire.
The topic has been locked.
More
15 years 9 months ago #33 by Antonio Durán
Replied by Antonio Durán on topic Re:Auth plugin
Usually you don't need to create a new module of type joomdle courses, because when you install it, one is created, but not published.

Anyway, it sound right, if you can see the module in the front end. The question is: what does the module show?
The topic has been locked.
More
15 years 9 months ago #34 by tom maguire
Replied by tom maguire on topic Re:Auth plugin
It shows the heading "moodle course" ( as named in the module manager) below the menu, positioned left as expected, but there is nothing else- not even now, an error message- just blank.
The topic has been locked.
More
15 years 9 months ago #35 by Antonio Durán
Replied by Antonio Durán on topic Re:Auth plugin
ok. Then, modify modules/mod_joomdle_courses/tmp/default.php to add some echos along the code to see if it is executing.
The topic has been locked.
More
15 years 9 months ago #36 by tom maguire
Replied by tom maguire on topic Re:Auth plugin
Yes, the echoes appear
The topic has been locked.
More
15 years 9 months ago #37 by Antonio Durán
Replied by Antonio Durán on topic Re:Auth plugin
ok then. Put the line:

print_r ($file);

After:

$file = file_get_contents($moodle_xmlrpc_server_url, false, $context);
The topic has been locked.
More
15 years 9 months ago #38 by tom maguire
Replied by tom maguire on topic Re:Auth plugin
antonio wrote:

Ok. Let's see what is coming from Moodle.

Add:
print_r ($file);
in mod_joomdle/courses.php, after:
$file = file_get_contents($moodle_xmlrpc_server_url, false, $context);


This is the step we did earlier?

If so, I didn't remove it so it is still there.

And it hasn;t shown anything
The topic has been locked.
More
15 years 9 months ago #39 by tom maguire
Replied by tom maguire on topic Re:Auth plugin
I think I'll try a complete fresh install in the morning- but just now I need a drink. :)

I'll post later in the week and let you know how I got on.

Thanks for all your time and effort: it is much appreciated

tom
The topic has been locked.
More
15 years 9 months ago - 15 years 9 months ago #40 by tom maguire
Replied by tom maguire on topic Re:Auth plugin
tom
Last edit: 15 years 9 months ago by tom maguire.
The topic has been locked.