Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › hook before unit list in course page..
Tagged: back to course, button, Hook
- This topic has 26 replies, 2 voices, and was last updated 4 years, 5 months ago by Diana.
-
AuthorPosts
-
February 28, 2020 at 3:06 pm #244095StudioLeBusParticipantHello, 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 advanceFebruary 29, 2020 at 7:41 am #244132DianaParticipant@StudioLeBus, Yes, please check this article: https://wplms.io/support/knowledge-base/show-back-to-course-button-above-the-accordion/February 29, 2020 at 5:58 pm #244199StudioLeBusParticipantHello ! 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 ? thanksMarch 2, 2020 at 7:09 am #244264DianaParticipant@StudioLeBus, Can you please share your FTP credentials to check the code in a private reply. It should return the course permalinkMarch 2, 2020 at 7:15 am #244266StudioLeBusParticipantThis reply has been marked as private.March 2, 2020 at 8:38 am #244274StudioLeBusParticipantPlease 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 ???March 2, 2020 at 10:27 am #244278StudioLeBusParticipantHello 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...March 3, 2020 at 7:27 am #244387DianaParticipant@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/cYeeiTxe5kMarch 3, 2020 at 8:27 am #244399StudioLeBusParticipantHello 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 :)March 4, 2020 at 7:22 am #244510DianaParticipantThis reply has been marked as private.March 4, 2020 at 7:33 am #244513StudioLeBusParticipantHello 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 youMarch 5, 2020 at 2:18 pm #244712DianaParticipant@StudioLeBus, Okay, Let me check if I can fetch the course link using cookiesMarch 11, 2020 at 8:56 am #245235StudioLeBusParticipantHello, any chance you found the problem ? it's still not working :( thanks in advanceMarch 16, 2020 at 7:19 pm #245971DianaParticipantThis reply has been marked as private.March 16, 2020 at 7:27 pm #245973StudioLeBusParticipantNo 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...
-
AuthorPosts
- The topic ‘hook before unit list in course page..’ is closed to new replies.