# Customize "invite-only" modal text

**URL:** <https://forum.ghost.org/t/customize-invite-only-modal-text/21727>\
**Category:** Memberships & subscriptions\
**Created:** [April 9, 2021, 4:49pm UTC](https://forum.ghost.org/t/customize-invite-only-modal-text/21727 "2021-04-09T16:49:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/michele/32/12594_2.png) [@Michele](https://forum.ghost.org/u/Michele)\
**Post date:** [April 9, 2021, 4:49pm UTC](https://forum.ghost.org/t/customize-invite-only-modal-text/21727/1 "2021-04-09T16:49:28Z")

</div>

Hi, all.  
I’d like to modify the text of the modal showed when “Allow free member signup” option is off. Is it possible? How?  
Thanks!

![Immagine 2021-04-09 184628](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/f/f4277028b4c38ef0186591a4f34497963a365b3e.png)

---

<div class="post-metadata">

**Author:** ![thebear.dev](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/thebear.dev/32/13956_2.png) [@thebear.dev](https://forum.ghost.org/u/thebear.dev)\
**Post date:** [April 9, 2021, 5:03pm UTC](https://forum.ghost.org/t/customize-invite-only-modal-text/21727/2 "2021-04-09T17:03:23Z")

</div>

Yes, it’s possible. I only know of one way, but there might be a way to do it through translation too, something that @Kevin perhaps can answer.

As I said, I know of one way - and that is by changing the text inside the `portal.min.js` file. To do so, you need to serve the `portal.min.js` file locally (from your theme).

In order to do that, you need to copy the file from its [source](https://unpkg.com/@tryghost/portal@~1.1.0/umd/portal.min.js), download it, change the text and then upload it to your theme.

Once you’ve done that, you need to edit your `config.production.json` file (given that you are editing a production site, not a local site) which is located in the root of the installation and add the portal part to it, like this:

```auto
    "portal": {
        "url": "https://example.com/portal.min.js",
        "version": "~1.1.0"
    }

```

Change [example.com](http://example.com) into whatever your domain is. Then upload the config.production.json file to your server (overwrite) and once all is said and done - restart ghost.

To restart Ghost, you need to login to your installation and navigate to where you have Ghost installed, which normally is under /var/www/ghost by doing this: `cd /var/www/ghost`

From there you can run `ghost restart`  
I’ve done it this way (as root) with success.

---

<div class="post-metadata">

**Author:** ![Giordano](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@Giordano](https://forum.ghost.org/u/Giordano)\
**Post date:** [April 15, 2021, 6:48am UTC](https://forum.ghost.org/t/customize-invite-only-modal-text/21727/3 "2021-04-15T06:48:28Z")

</div>

Hi, @thebear.dev and thank you so much for the answer! Now we know that it’s possible to customize the modal!  
Unfortunately we are having some issues finding the source of our theme. It is “Renge 2.0.0” and, when we download the zip file containig all the files, we can’t find neither portal.min.js nor config.production.json.  
Maybe we are mistaking and we need to download something else. Could you be more specific or give us some more suggestion?  
Thanks a lot for your help!  
Best regards!

---

<div class="post-metadata">

**Author:** ![thebear.dev](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/thebear.dev/32/13956_2.png) [@thebear.dev](https://forum.ghost.org/u/thebear.dev)\
**Post date:** [April 15, 2021, 7:04am UTC](https://forum.ghost.org/t/customize-invite-only-modal-text/21727/4 "2021-04-15T07:04:08Z")

</div>

This will hopefully guide you through it all.

[https://thebear.dev/ghost-how-to-change-the-portal-by-loading-the-script-from-your-theme/](https://thebear.dev/ghost-how-to-change-the-portal-by-loading-the-script-from-your-theme/)

---

<div class="post-metadata">

**Author:** ![Giordano](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@Giordano](https://forum.ghost.org/u/Giordano)\
**Post date:** [April 16, 2021, 1:25pm UTC](https://forum.ghost.org/t/customize-invite-only-modal-text/21727/5 "2021-04-16T13:25:45Z")

</div>

@thebear.dev: Actually we are using Ghost as a service and it isn’t installed on our server. We are using the basic plan with Renge (2.0.0 version) as a theme. Is it possible to proceed with your process even with these configurations?

---

<div class="post-metadata">

**Author:** ![thebear.dev](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/thebear.dev/32/13956_2.png) [@thebear.dev](https://forum.ghost.org/u/thebear.dev)\
**Post date:** [April 16, 2021, 2:28pm UTC](https://forum.ghost.org/t/customize-invite-only-modal-text/21727/6 "2021-04-16T14:28:52Z")

</div>

I don’t think so. If by “basic” plan you mean hosted by Ghost, then not as far as I know.

---

<div class="post-metadata">

**Author:** ![Michele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/michele/32/12594_2.png) [@Michele](https://forum.ghost.org/u/Michele)\
**Post date:** [April 16, 2021, 2:48pm UTC](https://forum.ghost.org/t/customize-invite-only-modal-text/21727/7 "2021-04-16T14:48:17Z")

</div>

Thanks @thebear.dev  
Yes, @Giordano means hosted by ghost  
So, we must assume that there is no way to modify the text of the modal?

---

<div class="post-metadata">

**Author:** ![thebear.dev](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/thebear.dev/32/13956_2.png) [@thebear.dev](https://forum.ghost.org/u/thebear.dev)\
**Post date:** [April 16, 2021, 3:14pm UTC](https://forum.ghost.org/t/customize-invite-only-modal-text/21727/8 "2021-04-16T15:14:48Z")

</div>

Unless the paid version allows you to alter your theme and your `config.production.json` file OR allows you to make translations somehow, then the answer is no.

The “invite only, contact the admin” text comes from the `portal.min.js` file, which is served by a third party.
