# Setting the Default Category on Docuss

**URL:** https://publichappinessmovement.com/t/topic/2622
**Category:** Ruby on Rails, Ember and JS (Discourse and Docuss)
**Tags:** documentation, done, docuss
**Created:** [10 August 2021 15:10 UTC](https://publichappinessmovement.com/t/topic/2622 "2021-08-10T15:10:49Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [10 August 2021 15:10 UTC](https://publichappinessmovement.com/t/topic/2622/1 "2021-08-10T15:10:49Z")

</div>

@syl I hope you’re enjoying summer 🙂

I’m seeing a small bug, i think. The maps are not selecting the default category, and i can’t see where to set it.

Our documentation says the default setting should be in the plugin settings in the admin area, but its not there. Your documentation says it should be here: [fl-maps/dcs-website.json at master · focallocal/fl-maps · GitHub](https://github.com/focallocal/fl-maps/blob/master/public/dcs-website.json)

We haven’t defined it here. Probably because we just used the default option of ‘hidden’

Do you have any ideas where i can edit/check it?

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [10 August 2021 15:12 UTC](https://publichappinessmovement.com/t/topic/2622/2 "2021-08-10T15:12:20Z")

</div>

Normal:

 ![image](https://publichappinessmovement.com/uploads/default/original/1X/551cf06643f10fc842dbc1f97203bfe9623f8ef6.png)

When i hit Alt + A:

 ![image](https://publichappinessmovement.com/uploads/default/original/1X/1e936e5e858508fe84ca960949fc56ed6637e5af.png)

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [18 August 2021 19:30 UTC](https://publichappinessmovement.com/t/topic/2622/3 "2021-08-18T19:30:05Z")

</div>

Hi Andy,

The fl-maps code that sets the category is here:

> <https://github.com/focallocal/fl-maps/blob/master/imports/client/ui/app.js#L181>

Possible issues:

1. The fl-maps code that computes `topicCategory` is faulty (for example one or several categories set in lines 173 to 180 don’t exist), or
2. `comToPlugin.postSetRouteProps()` has a bug.

Would you please check possible issue #1 first? (also, please tell me of any error message in the console) If everything is fine in your code I will check #2.

Thanks,

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [20 August 2021 13:52 UTC](https://publichappinessmovement.com/t/topic/2622/4 "2021-08-20T13:52:28Z")

</div>

Sorry @syl, i saw this in the middle of the night and forgot to reply. I checked through the linked pages and couldn’t find ‘summit’, the last one, so i commented it out. The others are all there and working well.

The issue isn’t present on the Whitepaper, or the FAQs page. Only the hidden category on the maps.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [20 August 2021 14:05 UTC](https://publichappinessmovement.com/t/topic/2622/5 "2021-08-20T14:05:04Z")

</div>

I have an idea. Perhaps the issue is that Docuss doesn’t have permission to see or use the hidden category. I’ll see if i can make it publicly accessible to see if that fixes it.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [20 August 2021 14:09 UTC](https://publichappinessmovement.com/t/topic/2622/6 "2021-08-20T14:09:10Z")

</div>

security settings are normal

 ![image](https://publichappinessmovement.com/uploads/default/original/1X/caee77f87cef7f08de407ab2533e4ee580de3f4e.png)

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [20 August 2021 14:22 UTC](https://publichappinessmovement.com/t/topic/2622/7 "2021-08-20T14:22:34Z")

</div>

the only difference i can see is that ‘hidden’ is muted.

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [20 August 2021 20:41 UTC](https://publichappinessmovement.com/t/topic/2622/8 "2021-08-20T20:41:46Z")

</div>

I can’t seem to reproduce the bug. Would you please tell me how to get to this step (from your post above)? :

 ![image](https://publichappinessmovement.com/uploads/default/original/1X/1e936e5e858508fe84ca960949fc56ed6637e5af.png)

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [21 August 2021 01:07 UTC](https://publichappinessmovement.com/t/topic/2622/9 "2021-08-21T01:07:20Z")

</div>

Thanks for replying Syl.

- Click near me.
- Find anyone on the map, I suggest Vancouver.
- Click on that person (or event) and open their page. - Then click one of the three links to engage with them and open Docus.
- When it opens the Docuss/Discourse window says users need to set a category before posting a message. For users the category select window is hidden, so it needs to auto fill to ‘Hidden’.

Here’s a direct link to them: [Public Happiness](https://publichappinessmovement.com/docuss/m_1r)

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [21 August 2021 13:38 UTC](https://publichappinessmovement.com/t/topic/2622/10 "2021-08-21T13:38:23Z")

</div>

It seems the issue is caused by the missing category “General Discussion”. Would you please check and tell me?

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [21 August 2021 17:12 UTC](https://publichappinessmovement.com/t/topic/2622/11 "2021-08-21T17:12:13Z")

</div>

Ah, that has gone missing

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [21 August 2021 17:12 UTC](https://publichappinessmovement.com/t/topic/2622/12 "2021-08-21T17:12:36Z")

</div>

@syl it’s here: [General Chat - Public Happiness](https://publichappinessmovement.com/c/general-discussion/)

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [21 August 2021 17:55 UTC](https://publichappinessmovement.com/t/topic/2622/13 "2021-08-21T17:55:49Z")

</div>

Oh! You’re right. I changed the name to General Chat. Thanks for solving that, it makes sense now. I’ll add it to our documentation so it never happens again.
