How to Add New landing page after sign in

I want to add the new landing page after learner sign in. User should land on landing page then onClick() it should route to learner-dashboard where he can see courses list. I am using indigo theme @hinakhadim
I want to add a landing page. it will be custom html page that render after login user will land on Landing page. from landing page he will route to learner-dashboard

Hi @Abdullah! Welcome to the forum!!

With Open edX you can do awesome things, and in many cases there are multiple ways of changing the behavior of the platform.
There is no standard way of doing what you want. I can give you an idea without changing code base, but you will have to try it.
The learner-dashboard is a MFE, which get redirected from the legacy dashboard url here. You can patch caddyfile to catch the calls to LMS_HOST/dashboard and redirect to your custom page. There you can create a link to the MFE_URL/learner-dashboard to go back to the LMS.

Hope it helps!

can you please explain in detail.
what is MFE ?
how i can patch caddyfile to redirect custom page ?
Thanks

Hi @Abdullah, apologies for going too technical…
MFE stands for “Micro Front End”; they are the React applications that implement the different parts of the front end.
To patch the Caddyfile you will have to implement a Tutor plugin.
All these changes are not straightforward, and require some knowledge about the Open edX architecture. If you have to meet some deadline I suggest you look for help at the official Open edX partner list.

@Andres.Aulasneo Thank you so much for your assistance.
I have applied all these step
step 1 - create landing_page.html file in template folder
step 2 - make a plugin for route
these command use to make plugin file
New-Item -Path “C:\Users\ABC\AppData\Local\tutor-plugins\myplugin.py” -ItemType File

touch “$(tutor plugins printroot)/myplugin.py”

tutor plugins enable myplugin

still by following these step not able to add custom page and route.
when we deploy it it give error Internal server error also not working on local.

I would be great full if you can please guide regarding this problem

Could you please share what exactly do you need? Such as:

  • Do you want to redirect to landing page whenever learner sign in? If a user is on course detail page, and signing in also leads to landing page.