By Paul Murray on Wednesday, 21 September 2016
Posted in Technical Issues
Likes 0
Views 756
Votes 0
Hi Stackideas Team

I have Moodle here:
http://www.finalbug.net/moodle/

When I click on a course ABC I am brought here:
http://www.finalbug.net/network-final-cut-pro-post-production-professionals/login-here
Which is the way this should work.
Please see the first screen shot.

I have the exact same Moodle set up here in a wrapper:
http://www.finalbug.net/courses-fcpx-and-realted-post-production-tools
When I click on a course ABC I am redirected to a ES Login inside the wrapper where Moodle is.
Please see the third screen shot.

So far so good?

At the risk of confusing things further:

In the back end of Moodle there is a section called “Manage authentication”
Please see the second screen shot!
In there, there is a section called:
“Alternate login URL” with the following instructions:

If you enter a URL here, it will be used as the login page for this site. The page should contain a form which has the action property set to 'http://www.finalbug.net/moodle/login/index.php' and return fields username and password.
Be careful not to enter an incorrect URL as you may lock yourself out of this site.
Leave this setting blank to use the default login page.

I have a using this login page here in the above field in Moodle:

http://www.finalbug.net/network-final-cut-pro-post-production-professionals/login-here

What I am trying to achieve:

I want the login in the second eg (in Joomdle wrapper) to take me to the ES login page outside of the wrapper.
As seen in the first screen shot!

I hope that this makes some kind of sense!

thanks
Paul
Hi Paul,

Did you install the plug-ins from Joomdle? I think one of them handles redirects.

Bridgette
·
Thursday, 22 September 2016 04:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Bridgette

Thanks for the tip I should have thought of looking on the Joomdle Site

In case any one is interested:

Removing the default Moodle login page (redirect the Moodle login page to Joomla!)

Define an alternate login URL for Moodle, so that Moodle users never see the Moodle login page. We recommend that you don't enable this until everything is up, testing, testing again, tested one more time, and running. Oh did we say, test first before you do this!
Site administration->Plugins->Autenticathion->Manage autenthication: Alternate Login URL. Here we put Joomla URL.
If you are using Moodle in a wrapper, you can use this URL, so Joomla login page won't appear inside the wrapper: http://yoursite.com/components/com_joomdle/views/wrapper/getout_login.php

Creating an alternative login page for Moodle's Administrators

If you have redirected the default Moodle login page to Joomla, as defined above, you will need to create an additional method to enter Moodle for Moodle Administrators. To access Moodle, enter this URL in your browsers address bar http://yoursite.com/moodle/auth/joomdle/joomdle_login.php?login=moodle

Restrict access to Moodle to registered users only

Restrict access to Moodle to registered users only, so that no guests can enter the Moodle site.
Security -> Site Policies -> Force users to login


Apologies to the Stackideas Team for even asking this question here.

This is the final piece in the puzzle of my Stackideas LMS (Moodle) integration odyssey!!!

It was hell on earth to set up but it works perfectly!!!

best

Paul
·
Thursday, 22 September 2016 15:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Paul
·
Thursday, 22 September 2016 16:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post