How to straight away go to course page when clicking to image or course title

Home Forums Legacy Support Support queries Other issues How to straight away go to course page when clicking to image or course title

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #298659
    neuromath
    Spectator
    Hi, 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 you
    #298904
    Jackson
    Blocked
    Hello, Please check this tip: https://wplms.io/support/knowledge-base/land-directly-on-course-status-page/ Thanks,
    #299036
    neuromath
    Spectator
    Hi 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.
    #299249
    Veronica
    Moderator
    hi, 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 same
    #299319
    neuromath
    Spectator
    Hi 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.
    #299535
    Jackson
    Blocked
    Hello, 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,
    #299620
    neuromath
    Spectator
    Again 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.
    #299886
    Veronica
    Moderator
    ok 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 thanks
    #300807
    neuromath
    Spectator
    Hi Veronica, Thanks for verifying. Any updates on when will this be ready?
    #300982
    Veronica
    Moderator
    hi, 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 please
    #301177
    neuromath
    Spectator
    Hi 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?
    #301302
    Veronica
    Moderator
    hi, 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 accordingly
    #301438
    neuromath
    Spectator
    This reply has been marked as private.
    #301583
    Veronica
    Moderator
    working on the same will share code in some time
    #301691
    Veronica
    Moderator
    hi, 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>
Viewing 15 posts - 1 through 15 (of 17 total)
  • The topic ‘How to straight away go to course page when clicking to image or course title’ is closed to new replies.