# I just want to know portal modify locally

**URL:** <https://forum.ghost.org/t/i-just-want-to-know-portal-modify-locally/49973>\
**Category:** Developer help\
**Created:** [September 3, 2024, 2:19pm UTC](https://forum.ghost.org/t/i-just-want-to-know-portal-modify-locally/49973 "2024-09-03T14:19:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yeunho\_Kim](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/yeunho_kim/32/31969_2.png) [@Yeunho\_Kim](https://forum.ghost.org/u/Yeunho_Kim)\
**Post date:** [September 3, 2024, 2:19pm UTC](https://forum.ghost.org/t/i-just-want-to-know-portal-modify-locally/49973/1 "2024-09-03T14:19:05Z")

</div>

I just wanna change portal form input placeholder text. so I follow link below

> [@How to modify and load the portal directly from your theme](https://forum.ghost.org/t/how-to-modify-and-load-the-portal-directly-from-your-theme/27426):
>
> Important: doing this means altering the core portal.min.js file by loading it from your theme – not from the third party [unpkg.com](http://unpkg.com) CDN. You need to monitor any and all changes in the original file yourself and if and when needed, modify your local version. This article will be updated each time there’s an Ghost update and it will always be available for free. As of 2021-12-20: The file in question, in version 4.32.0, is located under Core → Shared → Config . The name of the file is defaults…

but, I can’t change anything

i can’t find small answer about little problems

please let me know how to modify portal form input tag placeholder.

My develop environment

Machine : Mac Book Pro M1 and docker(OS:debian)

 ![Screenshot 2024-09-03 at 11.04.42 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/9/5/957b7acebbf063a23b0780026dbfb3f978857fe3.png)

config.development.json

```auto
{
  "url": "http://localhost:2368/",
  "server": {
    "port": 2368,
    "host": "127.0.0.1"
  },
  "database": {
    "client": "sqlite3",
    "connection": {
      "filename": "/home/yhkim/ghost/content/data/ghost-local.db"
    }
  },
  "mail": {
    "transport": "Direct"
  },
  "logging": {
    "transports": [
      "file",
      "stdout"
    ]
  },
  "process": "local",
  "paths": {
    "contentPath": "/home/yhkim/ghost/content"
  },
  "portal": {
    "url": "http://localhost:2368/portal.min.js"
  }
}

```

and where do i put portal.min.js? now, I put portal.min.js in 3 place.

 ![Screenshot 2024-09-03 at 11.09.44 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/6/8/68dbed24382e711fddca631e1728a543cc3002c4.png)

but, it doesn’t build and missing on chrome

 ![Screenshot 2024-09-03 at 11.14.34 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/9/2/92740c4f001dd074483dd899944e19694cccdd64.jpeg)

```auto
<script defer src="http://localhost:2368/portal.min.js" data-i18n="false" data-ghost="http://localhost:2368/" data-key="dd1150c9d6cfebdfd68e0d4f5d" data-api="http://localhost:2368/ghost/api/content/" crossorigin="anonymous"></script><style id="gh-members-styles">

```

again I just wanna simple tiny thing ‘portal input tag placeholder text’

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [September 3, 2024, 4:08pm UTC](https://forum.ghost.org/t/i-just-want-to-know-portal-modify-locally/49973/2 "2024-09-03T16:08:14Z")

</div>

You need to edit config.production.json (located in the ghost root directory) to give it the url for the modified portal, which could be in your theme’s assets directory. [The locations you’re showing won’t work unless one of those is actually the active theme. It needs to be somewhere that it’ll get a valid URL.] See [Configuration - Adapt your publication to suit your needs](https://ghost.org/docs/config/#portal) for how to set that up.

(If you’re in a docker container or similar, you’ll need to do the equivalent with variables.)

---

<div class="post-metadata">

**Author:** ![Yeunho\_Kim](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/yeunho_kim/32/31969_2.png) [@Yeunho\_Kim](https://forum.ghost.org/u/Yeunho_Kim)\
**Post date:** [September 4, 2024, 7:25am UTC](https://forum.ghost.org/t/i-just-want-to-know-portal-modify-locally/49973/3 "2024-09-04T07:25:16Z")

</div>

as your comments before, I’ve tried to find the valid url information and dug thr ghost documents and Google. but i can’t find that. maybe can i get hint about ‘vaild url’? or do i give detail information of my development environment?

---

<div class="post-metadata">

**Author:** ![Yeunho\_Kim](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/yeunho_kim/32/31969_2.png) [@Yeunho\_Kim](https://forum.ghost.org/u/Yeunho_Kim)\
**Post date:** [September 4, 2024, 7:43am UTC](https://forum.ghost.org/t/i-just-want-to-know-portal-modify-locally/49973/4 "2024-09-04T07:43:01Z")

</div>

ThanX! your hint about ‘url’ I can solve my problem with chatGPT! Stuper Thank you very much!!
