# Development

**URL:** https://meta.discourse.org/c/dev/7.md?page=35

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

**Page:** 36

---

## [Cant use object in block of add\_to\_serializer](https://meta.discourse.org/t/cant-use-object-in-block-of-add-to-serializer/290494)

<div class="topic-metadata">

**Author:** [@Honeyxilia](https://meta.discourse.org/u/Honeyxilia)\
**Replies:** 0\
**Last updated:** [January 4, 2024, 10:51am UTC](https://meta.discourse.org/t/cant-use-object-in-block-of-add-to-serializer/290494 "2024-01-04T10:51:58Z")

</div>

Hello ! I’m currently working on the Multilingual Plugin, and in the add\_to\_serializer method, i wish to use the &block arguements by giving a lambda, to avoid code redundancy, and to pass arguments in it correspond…

---

## [2 header with searchbar in middle to hide](https://meta.discourse.org/t/2-header-with-searchbar-in-middle-to-hide/290413)

<div class="topic-metadata">

**Author:** [@Mehran](https://meta.discourse.org/u/Mehran)\
**Replies:** 0\
**Last updated:** [January 3, 2024, 7:00pm UTC](https://meta.discourse.org/t/2-header-with-searchbar-in-middle-to-hide/290413 "2024-01-03T19:00:27Z")

</div>

I want help!: I have two similar header containers that I want to be scrollable with a little change. With your help, we placed a search icon in the main header a few days ago, and by clicking on it, the search bar app…

---

## [How to access theme component setting from another theme component](https://meta.discourse.org/t/how-to-access-theme-component-setting-from-another-theme-component/290303)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 4\
**Last updated:** [January 3, 2024, 5:15pm UTC](https://meta.discourse.org/t/how-to-access-theme-component-setting-from-another-theme-component/290303 "2024-01-03T17:15:08Z")

</div>

Is there a way to access one theme component’s settings from another theme component? It seems like settings contains settings only for the theme component that it’s in. If it’s not possible to access one theme componen…

---

## [Questions about the technical architecture of Discourse](https://meta.discourse.org/t/questions-about-the-technical-architecture-of-discourse/277308)

<div class="topic-metadata">

**Author:** [@51mon](https://meta.discourse.org/u/51mon)\
**Replies:** 18\
**Last updated:** [January 2, 2024, 11:35pm UTC](https://meta.discourse.org/t/questions-about-the-technical-architecture-of-discourse/277308 "2024-01-02T23:35:50Z")

</div>

Hi Long ago I was a techie but not these days. I’ve said elsewhere I’m interested in the design of digital community. Sociology built with technology I don’t know what the architecture of discourse is but I’m aware it …

---

## [Profile summary stats edit](https://meta.discourse.org/t/profile-summary-stats-edit/290133)

<div class="topic-metadata">

**Author:** [@digitaldominica](https://meta.discourse.org/u/digitaldominica)\
**Replies:** 1\
**Last updated:** [December 31, 2023, 4:38pm UTC](https://meta.discourse.org/t/profile-summary-stats-edit/290133 "2023-12-31T16:38:08Z")

</div>

Hi, I’ve noticed that the summary provide stats that are redundant for my users given they are all provided under the notifications tab. I’ve searched meta for discussions on this and non have indicated how to remove th…

---

## [Downloaded component installs fine, but does not once changed/re-zipped](https://meta.discourse.org/t/downloaded-component-installs-fine-but-does-not-once-changed-re-zipped/289927)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Replies:** 4\
**Last updated:** [December 30, 2023, 12:55am UTC](https://meta.discourse.org/t/downloaded-component-installs-fine-but-does-not-once-changed-re-zipped/289927 "2023-12-30T00:55:42Z")

</div>

I’ve downloaded the category badge component, made some changes, zipped it (right click \> compress on Mac) and then when I try to Install \> from your device it tells me: An error occurred: Import Error: about.json does n…

---

## [Redirecting After 'Post Needs Approval' Modal Closure](https://meta.discourse.org/t/redirecting-after-post-needs-approval-modal-closure/289769)

<div class="topic-metadata">

**Author:** [@omppatil](https://meta.discourse.org/u/omppatil)\
**Replies:** 3\
**Last updated:** [December 30, 2023, 9:11am UTC](https://meta.discourse.org/t/redirecting-after-post-needs-approval-modal-closure/289769 "2023-12-30T09:11:23Z")

</div>

Hi!, I have a query regarding the current system behaviour when creating a new topic. Currently, after clicking “OK” on the ‘Post Needs Approval’ modal, the modal simply closes. I was wondering if I could get guidance o…

---

## [e-Commerce: Using Solidus with Discourse](https://meta.discourse.org/t/e-commerce-using-solidus-with-discourse/289686)

<div class="topic-metadata">

**Author:** [@hellekin](https://meta.discourse.org/u/hellekin)\
**Replies:** 0\
**Last updated:** [December 24, 2023, 11:38am UTC](https://meta.discourse.org/t/e-commerce-using-solidus-with-discourse/289686 "2023-12-24T11:38:32Z")

</div>

I’m wondering if there are instances of Discourse bundled with Solidus e-commerce platform. Since both are based on Ruby-on-Rails, it would be nice to know whether they integrate well, or if it’s better to run standalon…

---

## [Use decorateWidget to add text link to header](https://meta.discourse.org/t/use-decoratewidget-to-add-text-link-to-header/289542)

<div class="topic-metadata">

**Author:** [@martyn\_thomas](https://meta.discourse.org/u/martyn_thomas)\
**Replies:** 5\
**Last updated:** [December 22, 2023, 7:58pm UTC](https://meta.discourse.org/t/use-decoratewidget-to-add-text-link-to-header/289542 "2023-12-22T19:58:02Z")

</div>

I’m trying to add an icon and text link into our header to using Theme Component I’ve managed to add an icon using: const { iconNode } = require("discourse-common/lib/icon-library"); api.decorateWidget('header-…

---

## [Force page refresh on a link click](https://meta.discourse.org/t/force-page-refresh-on-a-link-click/289347)

<div class="topic-metadata">

**Author:** [@Farhan\_Hossen](https://meta.discourse.org/u/Farhan_Hossen)\
**Replies:** 4\
**Last updated:** [December 22, 2023, 1:25pm UTC](https://meta.discourse.org/t/force-page-refresh-on-a-link-click/289347 "2023-12-22T13:25:09Z")

</div>

I’m trying to change the text here. I included a link. But when I click on the link it goes to that page but the modal and editor persists on the screen which I don’t want So, I think If I can force the page to re…

---

## [Creating and installing plugins?](https://meta.discourse.org/t/creating-and-installing-plugins/289294)

<div class="topic-metadata">

**Author:** [@Gaurav\_Kumar\_Sandan](https://meta.discourse.org/u/Gaurav_Kumar_Sandan)\
**Replies:** 5\
**Last updated:** [December 21, 2023, 5:17am UTC](https://meta.discourse.org/t/creating-and-installing-plugins/289294 "2023-12-21T05:17:57Z")

</div>

Greetings! I’m eager to develop components on Discourse Home for my project, but I’m seeking guidance on the process. Could you elaborate on how plugins function and the steps for installing them on the home page? For i…

---

## [How to add a link shortcut to the area under the title](https://meta.discourse.org/t/how-to-add-a-link-shortcut-to-the-area-under-the-title/289361)

<div class="topic-metadata">

**Author:** [@Ahmed26](https://meta.discourse.org/u/Ahmed26)\
**Replies:** 1\
**Last updated:** [December 21, 2023, 12:00am UTC](https://meta.discourse.org/t/how-to-add-a-link-shortcut-to-the-area-under-the-title/289361 "2023-12-21T00:00:41Z")

</div>

How to add a link shortcut to the area under the title Can a theme component be made for this? It is really convenient to use this space

---

## [How to change new topic's layout on mobile side?](https://meta.discourse.org/t/how-to-change-new-topics-layout-on-mobile-side/289139)

<div class="topic-metadata">

**Author:** [@Yt.w](https://meta.discourse.org/u/Yt.w)\
**Replies:** 0\
**Last updated:** [December 19, 2023, 1:53am UTC](https://meta.discourse.org/t/how-to-change-new-topics-layout-on-mobile-side/289139 "2023-12-19T01:53:23Z")

</div>

Hello, I am would like to consult how to change layout of new topic’s composer on mobile side. As almost of my potential user has no PC and only mobile phone, so improve UX on composing from mobile device is quite a ke…

---

## [Activate Account Redirect](https://meta.discourse.org/t/activate-account-redirect/194186)

<div class="topic-metadata">

**Author:** [@cris.navarroza](https://meta.discourse.org/u/cris.navarroza)\
**Replies:** 3\
**Last updated:** [December 18, 2023, 6:51pm UTC](https://meta.discourse.org/t/activate-account-redirect/194186 "2023-12-18T18:51:35Z")

</div>

Can someone help me override the redirect function under the account activation page. I was looking at the codes from the repo and the function can’t be override with the api.modifyClass function. I need to redirect some…

---

## [Can I use routeAction in glimmer single-file components?](https://meta.discourse.org/t/can-i-use-routeaction-in-glimmer-single-file-components/288936)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 6\
**Last updated:** [December 18, 2023, 1:02pm UTC](https://meta.discourse.org/t/can-i-use-routeaction-in-glimmer-single-file-components/288936 "2023-12-18T13:02:18Z")

</div>

I can use the route-action helper in .hbs template files like this: @action={{route-action "showLogin"}} Can I use the same declaration in a glimmer template file? I tried this but it doesn’t work: import { routeActio…

---

## [Strapi discourse integration](https://meta.discourse.org/t/strapi-discourse-integration/288906)

<div class="topic-metadata">

**Author:** [@volanar](https://meta.discourse.org/u/volanar)\
**Replies:** 1\
**Last updated:** [December 16, 2023, 1:01pm UTC](https://meta.discourse.org/t/strapi-discourse-integration/288906 "2023-12-16T13:01:45Z")

</div>

There are official plugins for integration with wordpress and ghost, but I did not find a ready-made integration for strapi. However, the official strapi forum has integration with the strapi blog, where the frontend us…

---

## [Change Default Category Based On Conditions](https://meta.discourse.org/t/change-default-category-based-on-conditions/288891)

<div class="topic-metadata">

**Author:** [@martyn\_thomas](https://meta.discourse.org/u/martyn_thomas)\
**Replies:** 1\
**Last updated:** [December 16, 2023, 3:09am UTC](https://meta.discourse.org/t/change-default-category-based-on-conditions/288891 "2023-12-16T03:09:31Z")

</div>

We have the Pavilion Event plugin which creates a /Calendar page. I’m looking to tweak the calendar page using CSS/HTML/Theme Components to make it as user-friendly as possible. Because we only have a few categories th…

---

## [Sub-categories first in Composer category selector](https://meta.discourse.org/t/sub-categories-first-in-composer-category-selector/288756)

<div class="topic-metadata">

**Author:** [@martyn\_thomas](https://meta.discourse.org/u/martyn_thomas)\
**Replies:** 11\
**Last updated:** [December 16, 2023, 12:12am UTC](https://meta.discourse.org/t/sub-categories-first-in-composer-category-selector/288756 "2023-12-16T00:12:23Z")

</div>

Our users select the relevant category in the Topic Composer based on the subcategory - meaning they have to remember the category the subcategory they want to use is under in order to find it. Is it possible to change …

---

## [How to add custom topic map code?](https://meta.discourse.org/t/how-to-add-custom-topic-map-code/288868)

<div class="topic-metadata">

**Author:** [@amotl](https://meta.discourse.org/u/amotl)\
**Replies:** 2\
**Last updated:** [December 15, 2023, 9:57pm UTC](https://meta.discourse.org/t/how-to-add-custom-topic-map-code/288868 "2023-12-15T21:57:30Z")

</div>

Hi again, I am continuing the discussion from Show topic-map without a reply, because it has been closed. \[1\] That’s super sweet. Thank you, Jammy. May I humbly ask how/where this JavaScript snippet should be applied t…

---

## [Seeking help with user pop-up enhancement: inserting unique privat chat link](https://meta.discourse.org/t/seeking-help-with-user-pop-up-enhancement-inserting-unique-privat-chat-link/288808)

<div class="topic-metadata">

**Author:** [@Oksana\_Oo](https://meta.discourse.org/u/Oksana_Oo)\
**Replies:** 3\
**Last updated:** [December 15, 2023, 9:52pm UTC](https://meta.discourse.org/t/seeking-help-with-user-pop-up-enhancement-inserting-unique-privat-chat-link/288808 "2023-12-15T21:52:34Z")

</div>

Hey there! I\`m Oksana, PM from the humanitarian hub Reshim.org We are working on an innovative app to combat dehumanization in online discussions of hot topics. We’re developing a mediation tool that integrates with th…

---

## [Discourse on local pc](https://meta.discourse.org/t/discourse-on-local-pc/201793)

<div class="topic-metadata">

**Author:** [@levi45](https://meta.discourse.org/u/levi45)\
**Replies:** 12\
**Last updated:** [December 14, 2023, 7:07pm UTC](https://meta.discourse.org/t/discourse-on-local-pc/201793 "2023-12-14T19:07:59Z")

</div>

Hi to all, how can I install Discourse on my local ubuntu pc for test purposes many thanks.

---

## [Forbidden error on embed widget](https://meta.discourse.org/t/forbidden-error-on-embed-widget/288380)

<div class="topic-metadata">

**Author:** [@Matheus\_Cavinato](https://meta.discourse.org/u/Matheus_Cavinato)\
**Replies:** 5\
**Last updated:** [December 14, 2023, 6:13pm UTC](https://meta.discourse.org/t/forbidden-error-on-embed-widget/288380 "2023-12-14T18:13:36Z")

</div>

I’m attempting to implement the Discourse embed widget, but I’m encountering a forbidden error. I copied the embed code from the Admin \> Customize \> Embedding tab and pasted it onto my website. I also tried deploying an …

---

## [How to convince eslint that settings are defined?](https://meta.discourse.org/t/how-to-convince-eslint-that-settings-are-defined/288690)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 4\
**Last updated:** [December 14, 2023, 5:16pm UTC](https://meta.discourse.org/t/how-to-convince-eslint-that-settings-are-defined/288690 "2023-12-14T17:16:24Z")

</div>

https://github.com/pfaffman/discourse-custom-homepage-for-groups/actions/runs/7211339319/job/19646550333 /home/runner/work/discourse-custom-homepage-for-groups/discourse-custom-homepage-for-groups/javascripts/discourse/…

---

## [Ember upgrade: what's the plan for Mixins, specifically bufferedProperty?](https://meta.discourse.org/t/ember-upgrade-whats-the-plan-for-mixins-specifically-bufferedproperty/288173)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 2\
**Last updated:** [December 14, 2023, 10:20am UTC](https://meta.discourse.org/t/ember-upgrade-whats-the-plan-for-mixins-specifically-bufferedproperty/288173 "2023-12-14T10:20:49Z")

</div>

I’m working on COMPATIBILITY: move thumbnail selector to Glimmer & new Component modal system by merefield · Pull Request #32 · merefield/discourse-tc-topic-list-previews · GitHub I was using bufferedProperty on a Modal…

---

## [Ember deprecation warning for Translator plugin](https://meta.discourse.org/t/ember-deprecation-warning-for-translator-plugin/288655)

<div class="topic-metadata">

**Author:** [@packman](https://meta.discourse.org/u/packman)\
**Replies:** 14\
**Last updated:** [December 13, 2023, 11:13pm UTC](https://meta.discourse.org/t/ember-deprecation-warning-for-translator-plugin/288655 "2023-12-13T23:13:54Z")

</div>

I’m seeing an Ember deprecation warning for this plugin… \` DEPRECATION: \[PLUGIN discourse-translator-085393fc180a351d3e74518ec7971e580d749bf93686b725cf4995ffeeb614ba\] Usage of the Ember Global is deprecated. You should…

---

## [Allow to change theme component repo url and branch](https://meta.discourse.org/t/allow-to-change-theme-component-repo-url-and-branch/288165)

<div class="topic-metadata">

**Author:** [@fbpbdmin](https://meta.discourse.org/u/fbpbdmin)\
**Replies:** 2\
**Last updated:** [December 13, 2023, 3:18am UTC](https://meta.discourse.org/t/allow-to-change-theme-component-repo-url-and-branch/288165 "2023-12-13T03:18:46Z")

</div>

after added a theme component from a repo (a branch), sometimes, may need to update the branch to try new development. it will be very nice if could change it … thanks !

---

## [Intermittent "plugin not found" error](https://meta.discourse.org/t/intermittent-plugin-not-found-error/287181)

<div class="topic-metadata">

**Author:** [@Judith](https://meta.discourse.org/u/Judith)\
**Replies:** 6\
**Last updated:** [December 12, 2023, 11:17am UTC](https://meta.discourse.org/t/intermittent-plugin-not-found-error/287181 "2023-12-12T11:17:22Z")

</div>

I’m developing a plugin that will make it easy to connect Discourse installations to any custom app that your organisation may have and deliver push notifications through that app (mainly useful for iOS where webpush doe…

---

## [How to reference to an image by name specified in setting?](https://meta.discourse.org/t/how-to-reference-to-an-image-by-name-specified-in-setting/288260)

<div class="topic-metadata">

**Author:** [@fbpbdmin](https://meta.discourse.org/u/fbpbdmin)\
**Replies:** 5\
**Last updated:** [December 11, 2023, 11:02pm UTC](https://meta.discourse.org/t/how-to-reference-to-an-image-by-name-specified-in-setting/288260 "2023-12-11T23:02:24Z")

</div>

in a theme component, which shows an image (hat) on screen to use an image in scss, it works with its asset name directly like this, these images are defined in about.json { "name": "christmas-decorations", "about…

---

## [How to bring in Latest topics when using category boxes](https://meta.discourse.org/t/how-to-bring-in-latest-topics-when-using-category-boxes/105679)

<div class="topic-metadata">

**Author:** [@Kyle\_Risi](https://meta.discourse.org/u/Kyle_Risi)\
**Replies:** 20\
**Last updated:** [December 11, 2023, 6:14pm UTC](https://meta.discourse.org/t/how-to-bring-in-latest-topics-when-using-category-boxes/105679 "2023-12-11T18:14:27Z")

</div>

Hi Guys, Our HR team have decided to go with category boxes instead of a category list as below. However, they also would like the latest topics to appear at the bottom of the categories as seen in revoluts communit…

---

## [How to access user data in an outlet connector hbs?](https://meta.discourse.org/t/how-to-access-user-data-in-an-outlet-connector-hbs/180586)

<div class="topic-metadata">

**Author:** [@hyd504](https://meta.discourse.org/u/hyd504)\
**Replies:** 3\
**Last updated:** [December 10, 2023, 12:59pm UTC](https://meta.discourse.org/t/how-to-access-user-data-in-an-outlet-connector-hbs/180586 "2023-12-10T12:59:29Z")

</div>

I am working on a plugin that has to render a notice to some specific users in the top area of the website where notices show up. The plugin outlet that I am trying to override is: {{plugin-outlet name="top-notices" tag…

[Previous page](https://meta.discourse.org/c/dev/7.md?page=34)

[Next page](https://meta.discourse.org/c/dev/7.md?page=36)
