• Resolved alkanadi

    (@alkanadi)


    I already know how to remove the “mark lesson complete” button, and also I know how to programmically mark a lesson as complete. I was thinking that it would be easier to just move the button to another page.

    Is there a way to move the “mark lesson complete” to a different page?

Viewing 1 replies (of 1 total)
  • @alkanadi,

    In short, if you’re programmatically marking buttons as complete already it’s not going to be easier to move the button to another page or screen. The button is held within a form and the form is processed by a handler and moving all of that somewhere else would require quite a bit of programming and I’m not sure how easy that would be.

    The template that outputs the button is located here: https://github.com/gocodebox/lifterlms/blob/master/templates/course/complete-lesson-link.php

    You could customize that template a bit and load it somewhere else, probably. You’d want to ensure that all the variables used are defined so that it works properly.

    Hope that helps,

Viewing 1 replies (of 1 total)
  • The topic ‘How to move a button’ is closed to new replies.