Home › Forums › Legacy Support › Support queries › Setup issues › Redirect Student to All Courses after Login?
- This topic has 7 replies, 2 voices, and was last updated 8 years ago by H.K. Latiyan.
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
October 20, 2016 at 8:52 pm #75671qclearninglabSpectator<div class="bbp-reply-content clearfix"> Hi, OK - unless i'm totally spacing...I could have sworn there was the option to redirect to the All Courses page for students after login. But I'm just seeing Home, Profile, Dashboard, Same, Default, My Courses as options. How can I redirect to All Courses? I tried including this code in the Customerizer - but it didn't do anything. Thanks for the anticipated help!!! add_filter('login_redirect','wplms_custom_login_redirection',999,3); function wplms_custom_login_redirection($redirect_url,$request_url,$user){ $url = 'http://97b.92b.myftpupload.com/all-courses/'; return $url; } </div>October 21, 2016 at 7:00 am #75731H.K. LatiyanParticipantPlease try using this tip to add custom link/page in the login redirect setting: https://wplms.io/support/knowledge-base/adding-custom-links-in-studentinstructor-login-redirect/October 21, 2016 at 2:42 pm #75862qclearninglabSpectatorThis reply has been marked as private.October 22, 2016 at 7:18 am #75956H.K. LatiyanParticipantYou have added the php code in custom css. This is not the css but it is the php code, so you need to remove the code from here and add the code as instructed in the tip. The php code must be added in the wplms-customizer.php file (present in the wplms customizer plugin) OR in the functions.php file of your child theme (if using a child theme for customization purpose).October 22, 2016 at 12:59 pm #76026qclearninglabSpectatorThank you. Respectfully, how does one know the difference? When I open the WPLMS Customizer there is a button. And all other code ever provided is instructed to go to the Customizer. I really wish you would think about how most of us who are learning to code this stuff are not developers. If we were, we wouldn't be turning to you. Could you please make all steps more obvious? Click here. Then there. Then enter this. The tip doesn't say exactly where to put the code. It says use the WPLMS Customizer. The one I am familiar with which I am often directed to is the one for addressing theme issues. How am I to know that this code is for something other or different. And again, when you to to the WPLMS Customizer page, there's the button making it seem like that is the natural place to click. Can an you please share this feedback with Alex. We have been corresponding about the importance of documentation practices such as this that follow more traditional technical documentation protocols. If you begin to adopt them, you will be able to decrease your tickets significantly. Thank you.October 22, 2016 at 2:02 pm #76040H.K. LatiyanParticipantThe php codes are added in the wplms customizer plugin. Go to wp-admin->plugins->editor->select wplms customizer plugin->wplms-customizer.php file, refer: http://prntscr.com/cxihsu At the bottom of the file you can add the code. NOTE: You have to add the exact code, if there is any mistake in adding the code then your site will give a fatal error and the site will not work. In such case you have to login through ftp and remove the added code to make your website up and running.October 24, 2016 at 2:02 pm #76309qclearninglabSpectatorThank you for this clarification! :)October 25, 2016 at 5:29 am #76392H.K. LatiyanParticipantThanks for confirming, so closing the topic.
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
- The topic ‘Redirect Student to All Courses after Login?’ is closed to new replies.