I am trying to add a custom home page called “home.html” available at url like “https://demolms.xxxxx.com/home” which contains summary view of my enrolled courses and some static content. When user logs into “https://demolms.xxxxx.com”, he should be able to see the attached sample home page and not default dashboard. I tried including the dashboard.html file using <%include file='dashboard.html' /> in “home.html” to get the “My Courses” dynamic content, but it gives 500 error. What steps/configurations/modifications am I missing here. I am using “tutor” with a custom-theme in the tutor ec2 instance. I appreciate it if anyone could help.
The 500 error should give you a clue. A 500 error is an error on the server. Right after you trigger the error, what is the output of tutor local logs --tail=100 lms? The resulting stacktrace will give you an indication of what is going on.
Is there any file where we can map the home.html file which I added in the custom theme to the path “/home” in the backend and display that once a user logs in instead of showing dashboard? I am not sure how to make this happen in tutor. I checked lot of posts and blogs but none of them tell how to add new and custom pages and how to configure them in tutor so that the backend can serve us that custom page. Please help me with this.