From 29ccaab9aef924a766b9e96d00d793eec413e2bb Mon Sep 17 00:00:00 2001 From: ktyagiapphelix2u Date: Fri, 7 Nov 2025 11:15:43 +0000 Subject: [PATCH 1/4] fix: mktg urls from the configuration --- configuration_files/lms.yml | 8 +++++--- py_configuration_files/lms.py | 12 +++--------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/configuration_files/lms.yml b/configuration_files/lms.yml index fd3a818..121c296 100644 --- a/configuration_files/lms.yml +++ b/configuration_files/lms.yml @@ -303,7 +303,7 @@ ELASTIC_SEARCH_CONFIG: - host: edx.devstack.elasticsearch port: 9200 use_ssl: false -ENABLE_MKTG_SITE: true +ENABLE_MKTG_SITE: true EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend EMAIL_HOST: localhost EMAIL_HOST_PASSWORD: '' @@ -425,8 +425,10 @@ MKTG_URLS: ROOT: http://localhost:18000 ABOUT: /about CONTACT: /contact - FAQ: /help - COURSES: /course + COURSES: /courses + BLOG: /blog + DONATE: /donate + TOS_AND_HONOR: /tos TOS: /edx-terms-service HONOR: /honor PRIVACY: /privacy diff --git a/py_configuration_files/lms.py b/py_configuration_files/lms.py index 2dbbc3c..1083743 100644 --- a/py_configuration_files/lms.py +++ b/py_configuration_files/lms.py @@ -429,27 +429,21 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing MKTG_URLS = { 'ABOUT': '/about', - 'ACCESSIBILITY': '/accessibility', 'AFFILIATES': '/affiliate-program', 'BLOG': '/blog', - 'CAREERS': '/careers', 'CONTACT': '/support/contact_us', - 'COURSES': '/course', + 'COURSES': '/courses', 'DONATE': '/donate', - 'ENTERPRISE': '/enterprise', 'FAQ': '/student-faq', 'HONOR': '/edx-terms-service', 'HOW_IT_WORKS': '/how-it-works', - 'MEDIA_KIT': '/media-kit', - 'NEWS': '/news-announcements', 'PRESS': '/press', - 'PRIVACY': '/edx-privacy-policy', + 'PRIVACY': '/privacy', 'ROOT': MARKETING_SITE_ROOT, 'SCHOOLS': '/schools-partners', - 'SITE_MAP': '/sitemap', 'TRADEMARKS': '/trademarks', 'TOS': '/edx-terms-service', - 'TOS_AND_HONOR': '/edx-terms-service', + 'TOS_AND_HONOR': '/tos', 'WHAT_IS_VERIFIED_CERT': '/verified-certificate', 'PROGRAM_SUBSCRIPTIONS': '/program-subscriptions', } From 37d5adf9ea781d34afd97eaa1316d0c4d71bd4cc Mon Sep 17 00:00:00 2001 From: ktyagiapphelix2u Date: Mon, 10 Nov 2025 06:22:33 +0000 Subject: [PATCH 2/4] fix: mktg urls from the configuration --- py_configuration_files/lms.py | 1 - 1 file changed, 1 deletion(-) diff --git a/py_configuration_files/lms.py b/py_configuration_files/lms.py index 1083743..c7107ac 100644 --- a/py_configuration_files/lms.py +++ b/py_configuration_files/lms.py @@ -434,7 +434,6 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing 'CONTACT': '/support/contact_us', 'COURSES': '/courses', 'DONATE': '/donate', - 'FAQ': '/student-faq', 'HONOR': '/edx-terms-service', 'HOW_IT_WORKS': '/how-it-works', 'PRESS': '/press', From 5b84a61b8c9a8bb9f09aaf43c144d26211f27ae1 Mon Sep 17 00:00:00 2001 From: ktyagiapphelix2u Date: Mon, 10 Nov 2025 07:40:42 +0000 Subject: [PATCH 3/4] fix: mktg urls from the configuration --- py_configuration_files/lms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py_configuration_files/lms.py b/py_configuration_files/lms.py index c7107ac..447076b 100644 --- a/py_configuration_files/lms.py +++ b/py_configuration_files/lms.py @@ -425,7 +425,7 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing }) ENABLE_MKTG_SITE = os.environ.get('ENABLE_MARKETING_SITE', True) -MARKETING_SITE_ROOT = os.environ.get('MARKETING_SITE_ROOT', 'http://localhost:8080') +MARKETING_SITE_ROOT = os.environ.get('MARKETING_SITE_ROOT', '/') MKTG_URLS = { 'ABOUT': '/about', From f0ca034bc9858c143c9e2be7cbf7732c6cb75cf6 Mon Sep 17 00:00:00 2001 From: ktyagiapphelix2u Date: Tue, 18 Nov 2025 08:11:44 +0000 Subject: [PATCH 4/4] fix: mktg urls from the configuration --- configuration_files/lms.yml | 21 +++++++++++++++++---- py_configuration_files/lms.py | 18 ++++++++++++------ 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/configuration_files/lms.yml b/configuration_files/lms.yml index 121c296..04d011a 100644 --- a/configuration_files/lms.yml +++ b/configuration_files/lms.yml @@ -424,15 +424,28 @@ MEDIA_URL: /media/ MKTG_URLS: ROOT: http://localhost:18000 ABOUT: /about - CONTACT: /contact - COURSES: /courses + ACCESSIBILITY: /accessibility + AFFILIATES: /affiliate-program BLOG: /blog + CAREERS: /careers + CONTACT: /contact + COURSES: /course DONATE: /donate - TOS_AND_HONOR: /tos - TOS: /edx-terms-service + ENTERPRISE: /enterprise + FAQ: /help HONOR: /honor + HOW_IT_WORKS: /how-it-works + MEDIA_KIT: /media-kit + NEWS: /news-announcements + PRESS: /press PRIVACY: /privacy + SCHOOLS: /schools-partners + SITE_MAP: /sitemap + TRADEMARKS: /trademarks + TOS: /edx-terms-service + TOS_AND_HONOR: /tos_and_honor WHAT_IS_VERIFIED_CERT: /verified-certificate + PROGRAM_SUBSCRIPTIONS: /program-subscriptions MOBILE_STORE_URLS: {} MODULESTORE: default: diff --git a/py_configuration_files/lms.py b/py_configuration_files/lms.py index 447076b..c6011ae 100644 --- a/py_configuration_files/lms.py +++ b/py_configuration_files/lms.py @@ -424,25 +424,31 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing 'ENABLE_ENTERPRISE_INTEGRATION': True, }) -ENABLE_MKTG_SITE = os.environ.get('ENABLE_MARKETING_SITE', True) -MARKETING_SITE_ROOT = os.environ.get('MARKETING_SITE_ROOT', '/') +ENABLE_MKTG_SITE = os.environ.get('ENABLE_MARKETING_SITE', False) MKTG_URLS = { + 'ROOT': '/', 'ABOUT': '/about', + 'ACCESSIBILITY': '/accessibility', 'AFFILIATES': '/affiliate-program', 'BLOG': '/blog', + 'CAREERS': '/careers', 'CONTACT': '/support/contact_us', - 'COURSES': '/courses', + 'COURSES': '/course', 'DONATE': '/donate', + 'ENTERPRISE': '/enterprise', + 'FAQ': '/student-faq', 'HONOR': '/edx-terms-service', 'HOW_IT_WORKS': '/how-it-works', + 'MEDIA_KIT': '/media-kit', + 'NEWS': '/news-announcements', 'PRESS': '/press', - 'PRIVACY': '/privacy', - 'ROOT': MARKETING_SITE_ROOT, + 'PRIVACY': '/edx-privacy-policy', 'SCHOOLS': '/schools-partners', + 'SITE_MAP': '/sitemap', 'TRADEMARKS': '/trademarks', 'TOS': '/edx-terms-service', - 'TOS_AND_HONOR': '/tos', + 'TOS_AND_HONOR': '/tos_and_honor', 'WHAT_IS_VERIFIED_CERT': '/verified-certificate', 'PROGRAM_SUBSCRIPTIONS': '/program-subscriptions', }