Our sidebar sync’s our platform with our Discourse forum, with the aim of minimizing friction between the two until they operate as one smooth side. Discourse handling the community building, communications, admin functions, and backend of the entire platform.
Plugin In Discourse settings you’ll find a plugin called: dcs-discourse-plugin. This is where the default category is set.
Adding icon to open Discourse into any page
Add this at the top of the page:
import DCSBalloon from '/imports/client/ui/components/DCSBalloon/index.js'
Add this to position the icon:
<DCSBalloon title="Insert title" subtitle="Insert subtitle" balloonId="bal" display="inline"/>
Can be removed:
title="Insert title" and
You cannot leave the titles blank as this will fail
title=" " and
- Balloon “bal”
- Photos “pho”
- Videos “vid”
- Wall/Chat “wal”
- User Experiences “exp”
- Report “rep”
Additionally you can follow them with a number, for example:
<DCSBalloon balloonId="bal4" display="block"/>
This needs to be a whole number, and cannot be anything other than a number (‘2a’ or ‘a’ won’t work)
Direct link to icons: https://github.com/focallocal/fl-maps/tree/master/public/images
(updating these will change all live icons currently in use)
The sidebar logo can also be edited there: https://github.com/focallocal/fl-maps/blob/master/public/images/dcs-logo.png
The homepage for the forum can be edited for each individual branch. Its set here