# CMS Default System Templates

**URL:** <https://community.hubspot.com/t/cms-default-system-templates/115642>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [September 2, 2024, 2:44pm UTC](https://community.hubspot.com/t/cms-default-system-templates/115642 "2024-09-02T14:44:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hafizusama](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@hafizusama](https://community.hubspot.com/u/hafizusama)\
**Post date:** [September 2, 2024, 2:44pm UTC](https://community.hubspot.com/t/cms-default-system-templates/115642/1 "2024-09-02T14:44:30Z")

</div>

Hi Guys,

I am here to get help in the following scenario.

I want to customize the membership access denied template in HubSpot.

Please consider the attached screenshot and suggest the best possible solution:

- Why am I not able to clone the cmsdefaultsystempages theme?
- Could you tell me how to customize the system page templates?
- How I can change the value of template\_translations variables used in templates (e.g. template\_translations.member\_access\_denied\_heading.message)

 ![hafizusama_0-1725288186469.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/1/31c5a8089644bebe9cfd978dc0a56d7d095ea7f2.jpeg)

Please suggest to me the best possible solution to correct my understanding.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [September 2, 2024, 9:26pm UTC](https://community.hubspot.com/t/cms-default-system-templates/115642/2 "2024-09-02T21:26:22Z")

</div>

Hi @hafizusama,

- you can’t clone the cmsdefaultsystempages theme, because it’s not a theme. The folder is build like a theme but it isn’t. The cmsdefaultsystempages folder should be seen as a summary of templates and files that are beeing cloned to your specific theme if it doesn’t have those themes/files…
- Customizing the system page templates can be done only in the design manager since there’s currently no visual editor like in emails/web-/landing pages to modify them. Could you please specify what you’d like to customize?
- In order to change the change the translation you have to:
  - Look in the templates/\_locales/LANGUAGE/messages.json(every language/tranlation has it’s own folder) file
  - Apply your changes in this file and save it
  - If you’re don’t want to have translations, you can either replace the {{ template\_translations.member\_access\_denied\_heading.message }} with some plain text, or create your own variables file and put the texts like this(see below) in it

Example of a custom variables file:

```lia-code-sample
{% set error_headline = "Ooops!" %}
{% set error_message = "something went wrong. Help is on it's way" %}

```

Once you’ve created this file, you can load it into the template like

```lia-code-sample
{% set template_css = "../css/templates/error.css" %}
{% set font_config = {
 "Source Serif Pro": ["600"],
 "Montserrat": ["300", "400", "500", "700"]
} %} 
{# if you're implementing the template into your theme, you might want to get rid of this font and CSS info above. #}

{% extends "../membership-base.html" %} {# if you're implementing the template into your theme, you need to either copy the membership-base template to your theme or change it to your base layout file(you'll most likely will need to do some further adjustments) #}

{% include 'PATH-TO-FILE.html' %}
...

<h1>{{ error_headline }}</h1>
<p>{{ error_message }}</p>

```

best,

Anton

---

<div class="post-metadata">

**Author:** ![hafizusama](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@hafizusama](https://community.hubspot.com/u/hafizusama)\
**Post date:** [September 3, 2024, 11:42am UTC](https://community.hubspot.com/t/cms-default-system-templates/115642/3 "2024-09-03T11:42:15Z")

</div>

Thank you so much, @Anton for explaining the structure of the cmsdefaultsystempages folder. It helped a lot.
