hook before unit list in course page..

Home Forums Legacy Support Support queries How-to & Troubleshooting hook before unit list in course page..

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #244095
    StudioLeBus
    Participant
    Hello, I would like to add a "back to course " button in the top of the unit list in the course page... some of my lesson have a lot of units and it's confusing if you have to scroll to see the back button... Is there a hook to add that with a function ? see the attached img: https://imgur.com/a/aXHlVmT thanks in advance
    #244132
    Diana
    Participant
    #244199
    StudioLeBus
    Participant
    Hello ! thanks very much it's exactly what I need ! but unfortunatly the link is wrong for some reason, it leads to /start-course/ and gives an error :(   get_permalink($course_id); seems to return nothing ??? any idea ? thanks
    #244264
    Diana
    Participant
    @StudioLeBus, Can you please share your FTP credentials to check the code in a private reply. It should return the course permalink
    #244266
    StudioLeBus
    Participant
    This reply has been marked as private.
    #244274
    StudioLeBus
    Participant
    Please note that the problem occurs on the lesson: https://www.guitarsession.net/course/backing-tracks/ it looks it works in other course for some reason I can't explain ???
    #244278
    StudioLeBus
    Participant
    Hello I understood the problem, if I don't click on Take the course or continue course, but I click directly on the unit, then the back to course button doesn't work ! I guess there's some parameters that are not transmitted if one unit is clicked directly ? am I right ??? thanks...
    #244387
    Diana
    Participant
    @StudioLeBus, The article I shared above will work only on the course status page(I mean when someone clicks on Button and then lands on course status page). The code will not work anywhere else. And, clicking directly on unit does not lands to course is working fine. recording: https://screencast-o-matic.com/watch/cYeeiTxe5k  
    #244399
    StudioLeBus
    Participant
    Hello thanks for your answer, unfortunatly the problem is really here, but as I said you have to be logged in look at this screen recording: https://drive.google.com/file/d/1tpQr4yo1DiDNlfDHQY-sXJmiIDuLsgDw/view?usp=sharing when you are logged in, click on one unit send you on the page with all unit on the left, and the back to course button added at the top doesn't work anymore... :( any ideas ??? thanks :)
    #244510
    Diana
    Participant
    This reply has been marked as private.
    #244513
    StudioLeBus
    Participant
    Hello and thanks for your answer, but when you click on an unit directly it doesn't work, if you click on continue course or start course it works... On your screencast we don't see where did you click previously to get on the lesson page. have you looked at this screencast ? it shows exactly that there is a problem! https://drive.google.com/file/d/1tpQr4yo1DiDNlfDHQY-sXJmiIDuLsgDw/view?usp=sharing please check it like I told you
    #244712
    Diana
    Participant
    @StudioLeBus, Okay, Let me check if I can fetch the course link using cookies
    #245235
    StudioLeBus
    Participant
    Hello, any chance you found the problem ? it's still not working :( thanks in advance
    #245971
    Diana
    Participant
    This reply has been marked as private.
    #245973
    StudioLeBus
    Participant
    No nothing was changed, it's working here, but look at your screenshot you entered the password with a space at the beginning or the end...
Viewing 15 posts - 1 through 15 (of 27 total)
  • The topic ‘hook before unit list in course page..’ is closed to new replies.