Custom Static Pages


I am using Tutor and Juniper Open edX release for my educational website.

Can I please have info to create custom URL links in the footer, for example, like refunds.html or disclaimer.html, and the commands to be run to incorporate it, along with the files to be changed, and the directories where refunds.html and disclaimer.html are to be placed? In other words, how to add custom static pages? I find that MKTG_URL_LINK_MAP does not exist in lms.env.json and cms.env.json files, as mentioned on some websites.

Thank you.


Maybe you should try the file : /edx/etc/lms.yml

  1. put the file called target.html into …/lms/templates/static_templates
  2. add settings into lms.yml :
  3. you can find the page : https://lms/target.html

I’m sure this item works in version Koa.

Thank you for your reply. The MKTG_URL_LINK_MAP does not appear in lms.env.json. Do I have to create MKTG_URL_LINK_MAP in the json file?

Open edX has moved to using /edx/etc/lms.yml and /edx/etc/studio.yml instead of lms.env.json and cms.env.json respectively.
As @guangyaw mentioned, adding the MKTG_URL_LINK_MAP setting in the lms.yml file should work.

1 Like

Thank you @pkulkark for your reply.