TutorLMS override the sage template

Hey!

So i’m trying to test a LMS solution for a client and ended up installing TutorLMS plugin. This plugin has some of it own pages and for some reason the page overrides the Sage template and uses the default template instead. For example i have a navigation set up in Sage which won’t show up when the Tutor dashboard is open. When i inspected the source it turned out that the Sage part wasn’t even loaded.

Tested with the default WP theme twentytwentyfour and everything works just fine.

What am i missing? Do i have to re-route the plugin somehow?

Some adjustments may be required for integrating plugins that bring their own templates (of the whole page).

Here an example for WooCommerce in Sage 10:

You need functions from the plugin that render specific parts of the page (not the whole page), as the page main content: https://docs.themeum.com/tutor-lms/developers/override-templates/

So the Sage theme has to override the built-in templates and have Blade-PHP templates where those functions are called.

1 Like

Another example is the Tribe events plugin which has a package for Sage themes also GitHub - supermundano/sage-the-events-calendar: Add The Events Calendar support to Sage 10.

2 Likes

Cool, Thanks! I’ll have a look at both of these projects.