- Posts: 10
[Fixed] Strange redirect after course enrollment
- Jason
- Topic Author
- Offline
- New Member
-
Less
More
15 years 8 months ago #1
by Jason
[Fixed] Strange redirect after course enrollment was created by Jason
Using the "detail" view for a course and clicking enrol the user would encounter a weird redirect as the itemid was not correctly carried over on the enrol request.
fixed by adding
to line 72
and modifying line 82 to read
(note the adding of itemid to the end of the url)
of components/com_joomdle/controller.php
Ill keep posting fixes to other things I find along the way if it is so desired.
-Jason
fixed by adding
Code:
$itemid = JRequest::getVar( 'Itemid' );
and modifying line 82 to read
Code:
$url = $moodle_auth_land_url."?username=$username&token=$token&mtype=course&id=$course_id&use_wrapper=$open_in_wrapper&Itemid=$itemid";
(note the adding of itemid to the end of the url)
of components/com_joomdle/controller.php
Ill keep posting fixes to other things I find along the way if it is so desired.
-Jason
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
15 years 8 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: [Fixed] Strange redirect after course enrollment
Thanks very much Jason.
I will take a look at it and include it for next release.
Please, post any fixes/improvements you make, as we will be happy to include them.
Antonio
I will take a look at it and include it for next release.
Please, post any fixes/improvements you make, as we will be happy to include them.
Antonio
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
15 years 8 months ago #3
by Antonio Durán
Replied by Antonio Durán on topic Re: [Fixed] Strange redirect after course enrollment
Fix added in development code.
Thanks again.
Thanks again.
The topic has been locked.