darbyshire Posted July 15, 2009 Posted July 15, 2009 Might be a simple but might be not. Is there anyway of getting a log-on box on our schools joomla webpage when when a user types in username and password it will send that request to the kaleidos webpage and log them in? Thanks Peter
mossj Posted July 15, 2009 Posted July 15, 2009 (edited) Should be.... (could be a easier way but this is how I sorted a login space on my site.) using a extention that allows direct additions of html (without the pesky wysiwyg editor changing it) or putting it into your template index.php file. The way go to the kaleidos login page, and look at the source copy everything to do with forms out of it (the form tags & input tags), and then start chopping bits off until it works (could only need U/N, P/W... in cpanels case) It could be as simple as </pre><form action="https://%5Bb%5Dportal%5B/b%5D/CookieAuth.dll?Logon" method="post" id="logonForm" autocomplete="no"> u/n: p/w: </for Edited July 15, 2009 by mossj 1
darbyshire Posted July 15, 2009 Author Posted July 15, 2009 so when i have the code i want where do put this so it goes in a module on the right of my Joomla frontpage? EDIT :- I have just seen the code. Ill try it out Thanks
darbyshire Posted July 15, 2009 Author Posted July 15, 2009 I am when i change portal to http://www.klp.rm.com. I am getting: Unknown Request The request could not be resolved by the server. Thanks
mossj Posted July 15, 2009 Posted July 15, 2009 try this in a html file "http://www.w3.org/TR/html4/loose.dtd"> Untitled Document </pre><form action="https://www.klp.rm.com/CookieAuth.dll?Logon" method="post" id="logonForm" autocomplete="no"> Conenction Type: Change Password: U/N: P/W: < Once its working we can look at making it pretty and putting it in Joomla 1
darbyshire Posted July 15, 2009 Author Posted July 15, 2009 That works perfectly Just now to make it look good. Thanks for all your help
mossj Posted July 15, 2009 Posted July 15, 2009 "http://www.w3.org/TR/html4/loose.dtd"> Untitled Document </pre><form action="https://www.klp.rm.com/CookieAuth.dll?Logon" method="post" id="logonForm" autocomplete="no"> Username: Password: < Should still work and looks nicer, (I can't test it ) can you confirm?
darbyshire Posted July 15, 2009 Author Posted July 15, 2009 That works perefectly and got the way i want it. Just need to find out how to put it on the Module on the front page haha. Thanks
mossj Posted July 15, 2009 Posted July 15, 2009 Use the plugin "Jincludes" and after install go to the plugin manager and click Jincludes (to configure it) Under "#1 Key" put "klalogin" under "#1 code" put </pre><form action="https://www.klp.rm.com/CookieAuth.dll?Logon" method="post" id="logonForm" autocomplete="no"> Username: Password: < or the code you want! After that enable the plugin and go to your module manager and create a new module with the "Custom HTML" then type "{{klalogin}}" in the edit html source editor. Position how you want and it should all work.... 1
darbyshire Posted July 16, 2009 Author Posted July 16, 2009 You have been a great help. Thank you very much.
oakfields-cc Posted December 8, 2010 Posted December 8, 2010 Hi I was trying to use this code but it doen't seem to be working for me,has anything change with joomla or RM's KLP login since it was written ?
beeswax Posted December 8, 2010 Posted December 8, 2010 The problem may lie with FCK Editor in Joomla. I created a Moodle login on our front page, but first had to disable the editor. Login to the admin side of your website and go to Site>Global Configuration, and in Site Settings where it says Default WYSIWYG Editor, select Editor-No Editor. Once you have input your code and saved the changes you can then undo the changes you made to editor selection. HTH.
oakfields-cc Posted December 8, 2010 Posted December 8, 2010 Great that worked, has anybody done a similar html code for RM easymail ?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now