I am trying to add a custom home page called “home.html” which should be 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 new to tutor and openedx. I am using “tutor” with a custom-theme in the tutor ec2 instance. I appreciate it if you could help.
I have checked lot of blogs and posts but I was unable to find anything related to how we can add a custom page and map it at the backend in tutor. I would appreciate it if anyone could help.
So in ‘home.html’ can we add the “dashboard.html” code and modify the view as we need? Also any idea how to implement this if we are using tutor as tutor installation doesn’t provide us with the files like “urls.py”?
Hi Santosh if you are using tutor you can run “tutor local exec lms bash” which will take you to “edx-platform” directory for that container
You can edit the file inside same container
I’m not sure about adding code of dashboard.html yet. Perhaps if we can get the “/home” working we can do that as a next step.
So if we run the command “tutor local exec lms bash” and do the changes in the respective files, will these changes be reflected immediately? Do we have to run the build image command “tutor images build openedx” and restart I am not sure if those changes will be applied even after we run the build image command "tutor images build openedx". Please let me know if this assumption is valid or not.