Home › Forums › Legacy Support › Support queries › Other issues › How to straight away go to course page when clicking to image or course title
Tagged: skip couse landing page; skip
- This topic has 16 replies, 3 voices, and was last updated 3 years, 8 months ago by Veronica.
-
AuthorPosts
-
August 27, 2020 at 10:58 am #298659neuromathSpectatorHi, I'm trying to achieve the same issue that this user had in this forum: https://wplms.io/support/forums/topic/skip-landing-page-and-go-to-course-status-page-from-student-profile/ but the reply has been marked as private. Can you please advise how to do that? Thank youAugust 28, 2020 at 8:07 am #298904JacksonBlockedHello, Please check this tip: https://wplms.io/support/knowledge-base/land-directly-on-course-status-page/ Thanks,August 28, 2020 at 3:27 pm #299036neuromathSpectatorHi jackson, But that doesnt work like what other users have commented below that page. You can read the comments. The same user in this forum: https://wplms.io/support/forums/topic/skip-landing-page-and-go-to-course-status-page-from-student-profile/ also mentioned the same thing. That's why your team proposed a different code, but that's marked as private. Please read that. Can you please provide the code that's hidden? or make that comment not private? that will help.August 29, 2020 at 10:28 am #299249VeronicaModeratorhi, the code is not provided in this comment here it's just the video of the user's site http://prntscr.com/u7y7fs that's why it is marked as private please let us know your entire requirement in detail so we can make a try to implement the sameAugust 29, 2020 at 2:15 pm #299319neuromathSpectatorHi Veronica, Thanks for the screenshot. Here is what I'm trying to achieve. When they're are the My Courses dashboard : https://prnt.sc/u80t9f I'd like to achieve: For students, Clicking on course image (numbered #1) and course title (numbered #2) will redirect students straight to their course page : https://prnt.sc/u80p9x. In short, they should behave like Continue/Start Course buttons in this page (numbered #3 & #4) For teachers,admins and public users, the behaviour should remain the same. Clicking on course image and title will redirect them to course details page: https://prnt.sc/u80pt0 When they are at All Courses Page --> My Courses tab: https://prnt.sc/u80rft For students, Clicking on course image (numbered #1), course title (numbered #2) AND Continue/Start Course button (numbered #3 & #4)will redirect students straight to their course page : https://prnt.sc/u80sgp For the All Courses --> All Courses tab: https://prnt.sc/u80vpt The behaviour should remain the same For teachers,admins and public users, the behaviour should remain the same as well. Clicking on course image and title will redirect them to course landing page: https://prnt.sc/u80pt0 Please let me know soon if that's not clear. In short, I want students to be able to skip course landing page, and go straight to course page once they're registered to the course.August 31, 2020 at 8:17 am #299535JacksonBlockedHello, I wplms " start course " button and continue course button always redirect to course statu button: https://prnt.sc/u8t3ld Course title and course image always redirect to single course page: https://prnt.sc/u8t50b This is by default in WPLMS, And except this there is no other setting to related this , Thanks,August 31, 2020 at 12:52 pm #299620neuromathSpectatorAgain you're not reading my earlier posts, Jackson. As mentioned earlier, I'm trying to achieve what this person has achieved in this post: https://wplms.io/support/forums/topic/skip-landing-page-and-go-to-course-status-page-from-student-profile/ I understand there is no such setting, that's why your team has provided the code that's put in the google code analytics section, as what Veronica has provided in the screenshot here: https://prnt.sc/u7y7fs I'm requesting for the exact same code as well, that's why I detailed my requirements as requested by Veronica. If you still don't understand, please kindly reach out to Veronica or other teammates. Thank you.September 1, 2020 at 12:41 pm #299886VeronicaModeratorok I get your requirement we need to check the code to implement the same it will take the time we will send the code here once we have done but if we forgot to do the same then please ping here thanksSeptember 4, 2020 at 12:34 pm #300807neuromathSpectatorHi Veronica, Thanks for verifying. Any updates on when will this be ready?September 5, 2020 at 5:21 am #300982VeronicaModeratorhi, we can modify the redirect functionality with this code: jquery(‘body’).delegate(‘img,link’,‘click’,function(){jQuery(this).parent().find(‘submit button’).trigger(‘click’)}); but we can't modify it with user roles like for student different redirect and for insturtcor different redierct so confirm here pleaseSeptember 5, 2020 at 3:51 pm #301177neuromathSpectatorHi Veronica, Then this is not inline with what was given by your team to the other user, whose code works according to his needs (which are also mine). There is no need for role if you look at the case. The condition is: - If the current user is registered to the course, then --- By clicking the image/title, the user will be directed to course page Can you advise please?September 7, 2020 at 5:42 am #301302VeronicaModeratorhi, sorry for the delay in response due to support the holiday ok The condition is: – If the current user is registered to the course, then — By clicking the image/title, the user will be directed to the course page please share the page URL for clicking the image/title and the course page URL of your site will share the code accordinglySeptember 7, 2020 at 12:41 pm #301438neuromathSpectatorThis reply has been marked as private.September 8, 2020 at 5:19 am #301583VeronicaModeratorworking on the same will share code in some timeSeptember 8, 2020 at 10:46 am #301691VeronicaModeratorhi, Please try adding this given script in your wp-admin -> wplms-> footer -> google anaylitics script :
<script> jQuery(‘#buddypress’).on(‘bp_filter_request’,function(){ jQuery(‘ul#course-list .course_single_item .item-avatar a,ul#course-list .course_single_item .item-title a’).click(function(event){ event.preventDefault(); var $this = jQuery(this); console.log($this.closest(‘.course_single_item’).find(‘.item-credits form’)); $this.closest(‘.course_single_item’).find(‘.item-credits form’).submit(); });}); </script>
-
AuthorPosts
- The topic ‘How to straight away go to course page when clicking to image or course title’ is closed to new replies.