# Edit Code

**URL:** https://meta.discourse.org/t/edit-code/230363
**Category:** Development
**Tags:** docker
**Created:** [June 18, 2022, 9:53am UTC](https://meta.discourse.org/t/edit-code/230363 "2022-06-18T09:53:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Juraj\_Štefánik](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Juraj\_Štefánik](https://meta.discourse.org/u/Juraj_%C5%A0tef%C3%A1nik)
#### Post date: [June 18, 2022, 9:53am UTC](https://meta.discourse.org/t/edit-code/230363/1 "2022-06-18T09:53:41Z")

</div>

HI, please, I would need to change the code because I need to make a few changes that can’t be made using plugins or the CSS in the admin panels.

So far, I see the possibility in the docker container and then upload it somehow back.

Can you advise me any other solution?

I would be very grateful for any answer.

Thank you

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [June 18, 2022, 10:54am UTC](https://meta.discourse.org/t/edit-code/230363/2 "2022-06-18T10:54:16Z")

</div>

> [@Juraj\_Štefánik](#):
>
> I need to make a few changes that can’t be made using plugins or the CSS in the admin panels.

Could you describe the changes you want to make in more detail?

Discourse team and the architects of Ruby & Rails (etc.) have gone a long way to make sure you can change code in plugins.

The whole point of plugins and theme components is that their changes survive rebuilds of the container.

Start here if you code changes includes Ruby API: [Developing Discourse Plugins - Part 1 - Create a basic plugin](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-1-creating-a-basic-plugin/30515)

If Javascript only you can usually get away with a Theme Component. [Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648)

---

<div class="post-metadata">

### Author: ![Juraj\_Štefánik](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Juraj\_Štefánik](https://meta.discourse.org/u/Juraj_%C5%A0tef%C3%A1nik)
#### Post date: [June 18, 2022, 7:11pm UTC](https://meta.discourse.org/t/edit-code/230363/3 "2022-06-18T19:11:24Z")

</div>

For example, I get here via the menu button on the top right - About, and I already have some modified or hidden a few things using display none, but if I wanted to add something here some new page led gdpr how do I do it? or lower than the email red how do I change to another email ??

 ![Snímka obrazovky 2022-06-18 o 21.08.26](https://global.discourse-cdn.com/meta/original/4X/8/8/c/88c12ffcb17e4af6fdd783b27d977f820c413104.png)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [June 18, 2022, 7:37pm UTC](https://meta.discourse.org/t/edit-code/230363/4 "2022-06-18T19:37:57Z")

</div>

Consider:

> [@Page Publishing](https://meta.discourse.org/t/page-publishing/151971):
>
> bookmark This guide covers how to use the Page Publishing feature on Discourse. This feature allows Staff users to convert a topic into a standalone static page with custom styling. Examples include the Terms of Service and Privacy Policy pages. person_raising_hand Required user level: Staff Publishing static pages on Discourse Page Publishing allows Staff users to create standalone static pages from topics. This is similar to the process for creating Terms of Service or Privacy Policy …

to add additional static routes, but why don’t you just change “Privacy” to “GDPR” in Customize → Text and then alter that document how you see fit to add GDPR content? You can already just edit that text almost like a normal Topic through the Discourse UI. Easy!

You can update the email and links in settings:

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/4/a/a4af0f0917adaca8b575858728a22f4d97ca0904.png)

If you need to hide anything, yes you can do that in CSS you add to a Theme Component (best managed from a GitHub repo)
