# Web Dev - Documentation

**URL:** https://publichappinessmovement.com/c/webdevdocs/42.md?page=1

[Latest](https://publichappinessmovement.com/latest.md) · [Categories](https://publichappinessmovement.com/categories.md) · [Tags](https://publichappinessmovement.com/tags.md)

**Page:** 2

---

## [Adding links in React (using React Router and CardLink)](https://publichappinessmovement.com/t/topic/2863)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 2\
**Last updated:** [5 April 2022 12:48 UTC](https://publichappinessmovement.com/t/topic/2863 "2022-04-05T12:48:09Z")

</div>

Urls added in the React or Docuss part of the code need to be valid React links. In fl-maps, Docuss relies on React Router to interpret links correctly, so any link not going through React Router won’t work. You can se…

---

## [Creating a new Discourse plugin](https://publichappinessmovement.com/t/topic/2643)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [20 August 2021 17:52 UTC](https://publichappinessmovement.com/t/topic/2643 "2021-08-20T17:52:44Z")

</div>

Here’s the basic plugin skeleton to build into. It needs to be added via your app.yml file on your local host version so you can test it.

---

## [Public Api's](https://publichappinessmovement.com/t/topic/2638)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [18 August 2021 14:28 UTC](https://publichappinessmovement.com/t/topic/2638 "2021-08-18T14:28:39Z")

</div>

A few of our take rely on public Api’s from outside the project. A list of useful apis can be found here: https://github.com/public-apis/public-apis

---

## [React edits to circumnavigate DB issues](https://publichappinessmovement.com/t/topic/2589)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 1\
**Last updated:** [14 July 2021 11:31 UTC](https://publichappinessmovement.com/t/topic/2589 "2021-07-14T11:31:24Z")

</div>

Some devs have been working on an issue with our DB. Whilst not finding it yet, they have suggested some changes we could make to avoid the error occurring. So this task is to find work arounds which achieve the same fun…

---

## [Custom Layouts Widget Settings](https://publichappinessmovement.com/t/topic/2513)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [17 May 2021 16:14 UTC](https://publichappinessmovement.com/t/topic/2513 "2021-05-17T16:14:33Z")

</div>

The widgets made possible via the Custom Layouts plugin have a settings page which doesn’t appear to be linked in the admin section of the plugin or component at this time. You can access it directly here: https://publi…

---

## [Prototype 1](https://publichappinessmovement.com/t/topic/2451)

<div class="topic-metadata">

**Author:** [@aeglobal](https://publichappinessmovement.com/u/aeglobal)\
**Replies:** 2\
**Last updated:** [30 April 2021 21:25 UTC](https://publichappinessmovement.com/t/topic/2451 "2021-04-30T21:25:26Z")

</div>

Landing page, gather page, build page, sign up, log in, and call to action screens. Newest landing page prototype 2 can be found on a previous page. That version is live. I could only make one project live at a time. L…

---

## [Where to Find Stats](https://publichappinessmovement.com/t/topic/2446)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [29 April 2021 15:38 UTC](https://publichappinessmovement.com/t/topic/2446 "2021-04-29T15:38:05Z")

</div>

The Web Dev teams are working on bringing all these stats together into one page to make viewing and using them easier. Here’s where you can find them at source Reddit: add ‘/about/traffic/’ to the end url of any of o…

---

## [Create a Google Drive for all Advert templates](https://publichappinessmovement.com/t/topic/2317)

<div class="topic-metadata">

**Author:** [@JaiGuerrero](https://publichappinessmovement.com/u/JaiGuerrero)\
**Replies:** 1\
**Last updated:** [9 March 2021 18:56 UTC](https://publichappinessmovement.com/t/topic/2317 "2021-03-09T18:56:18Z")

</div>

Write advert templates for each specific category and put them all in one Google Drive folder, together with the guide or list of online forums and communities to post them on. This is for us to have a more organized and…

---

## [Database passwords and secrets](https://publichappinessmovement.com/t/topic/2053)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [7 December 2020 18:34 UTC](https://publichappinessmovement.com/t/topic/2053 "2020-12-07T18:34:04Z")

</div>

We are using sops to manage secrets. It can encrypt the sensitive portions of json and yaml files while leaving non-sensitive parts, and the overall file structure, visible. It can also encrypt entire files of any type. …

---

## [General Technical - Overview](https://publichappinessmovement.com/t/topic/1117)

<div class="topic-metadata">

**Author:** [@tmcnulty](https://publichappinessmovement.com/u/tmcnulty)\
**Replies:** 1\
**Last updated:** [20 April 2020 00:36 UTC](https://publichappinessmovement.com/t/topic/1117 "2020-04-20T00:36:21Z")

</div>

Site Operations This node aims to document the overall way the site functions and changes to the codebase update production. Sub nodes appropriate for this article include Testing, Meteor, stats/metrics, and other in…

---

## [Components: Markdown - remarkable](https://publichappinessmovement.com/t/topic/1149)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [29 March 2019 00:37 UTC](https://publichappinessmovement.com/t/topic/1149 "2019-03-29T00:37:08Z")

</div>

Jonschlinkert remarkable on Github See link for full guide and details Added to pages with: const Remarkable = require('remarkable'); const markdownSection3 = md.rende( text here ) (inside the brackets above you nee…

---

## [Components - React-Scrollable-Anchor](https://publichappinessmovement.com/t/topic/1146)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [26 March 2019 22:27 UTC](https://publichappinessmovement.com/t/topic/1146 "2019-03-26T22:27:47Z")

</div>

A plugin we use to allow Scrolling and Anchor Links within React pages. Something React doesn’t support natively. You can read their full documentation, and see examples here Compatibility within our Platform: If you…

---

## [Setting up Discourse via the admin section after launching a new site](https://publichappinessmovement.com/t/topic/1896)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [14 April 2020 17:10 UTC](https://publichappinessmovement.com/t/topic/1896 "2020-04-14T17:10:44Z")

</div>

If you’ve set up your own instance of our Reactjs app and installed a Discourse forum to connect it to, you’re next going to need to put in the correct settings in the admin section before it’ll run properly. Setting …

---

## [Legacy guide to Making a Pull Request (PR)](https://publichappinessmovement.com/t/topic/1217)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 1\
**Last updated:** [11 April 2020 19:52 UTC](https://publichappinessmovement.com/t/topic/1217 "2020-04-11T19:52:10Z")

</div>

This guide is outdated, please visit the new one here All edits are initially made in this master branch (fl-maps), and then copy/pasted into the fl-sleeper branch, and a separate PR made to the fl-sleeper branch (refe…

---

## [Integrations: Discourse API](https://publichappinessmovement.com/t/topic/1150)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [30 March 2019 12:53 UTC](https://publichappinessmovement.com/t/topic/1150 "2019-03-30T12:53:19Z")

</div>

Every action within Discourse can be actioned on our platform via API. Our goal is to smooth the boundaries between the two platforms so they appear to the user as one clean site, with Discourse powering the backend and…

---

## [Discourse OneSignal plugin for app notifications](https://publichappinessmovement.com/t/topic/1846)

<div class="topic-metadata">

**Author:** [@bob](https://publichappinessmovement.com/u/bob)\
**Replies:** 1\
**Last updated:** [1 April 2020 16:27 UTC](https://publichappinessmovement.com/t/topic/1846 "2020-04-01T16:27:52Z")

</div>

This plugin enables notifications to be sent from the Discourse server to OneSignal via their API. It’s a fork of an existing plugin but I’ve customised the notification text. After the plugin has been installed, it…

---

## [SSO sign up and login](https://publichappinessmovement.com/t/topic/1305)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [15 June 2019 16:14 UTC](https://publichappinessmovement.com/t/topic/1305 "2019-06-15T16:14:32Z")

</div>

All our platforms and resources which require an online user account need to use Discourse’s SSO function which you can read about here This means that users should only need one account to sign in and remain signed in …

---

## [Components - Social Media Sharing Panel](https://publichappinessmovement.com/t/topic/1223)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [6 May 2019 20:30 UTC](https://publichappinessmovement.com/t/topic/1223 "2019-05-06T20:30:55Z")

</div>

Each event page will now include a panel of sharing buttons linked to the main social media sites, allowing the viewer to share the event with their friends. Currently we’re displaying the following: Facebook Twitter R…

---

## [Port Mappings - Common ports and their services](https://publichappinessmovement.com/t/topic/1306)

<div class="topic-metadata">

**Author:** [@tmcnulty](https://publichappinessmovement.com/u/tmcnulty)\
**Replies:** 0\
**Last updated:** [15 June 2019 17:24 UTC](https://publichappinessmovement.com/t/topic/1306 "2019-06-15T17:24:42Z")

</div>

3001: Discourse plugin

---

## [Meteor Upgrade](https://publichappinessmovement.com/t/topic/1367)

<div class="topic-metadata">

**Author:** [@tmcnulty](https://publichappinessmovement.com/u/tmcnulty)\
**Replies:** 2\
**Last updated:** [16 August 2019 23:25 UTC](https://publichappinessmovement.com/t/topic/1367 "2019-08-16T23:25:03Z")

</div>

We’ve all known meteor needs and upgrade for a while now. My experience with Meteor is limited mostly to this project. I’m going to be running some experiments desk side to see what this’ll take. Operations like this ar…

---

## [Components - EventPage Video Player](https://publichappinessmovement.com/t/topic/1211)

<div class="topic-metadata">

**Author:** [@ArtyS](https://publichappinessmovement.com/u/ArtyS)\
**Replies:** 0\
**Last updated:** [17 April 2019 10:53 UTC](https://publichappinessmovement.com/t/topic/1211 "2019-04-17T10:53:22Z")

</div>

Individual event pages currently display a video player in their banner that plays videos (YouTube + a handful of other video streaming sites). Code-wise this is encapsulated as a standalone React component found in the …

---

## [Software - Additional FAQs/Do's and Don'ts](https://publichappinessmovement.com/t/topic/1139)

<div class="topic-metadata">

**Author:** [@ArtyS](https://publichappinessmovement.com/u/ArtyS)\
**Replies:** 0\
**Last updated:** [25 March 2019 22:24 UTC](https://publichappinessmovement.com/t/topic/1139 "2019-03-25T22:24:36Z")

</div>

Additional tips & tricks/Where to get more information Web Dev Components Directory TRAINING LINKS The following are external links with some very useful training materials, with step-by-step walkthroughs and exercis…

---

## [Software - Design Goals](https://publichappinessmovement.com/t/topic/1135)

<div class="topic-metadata">

**Author:** [@ArtyS](https://publichappinessmovement.com/u/ArtyS)\
**Replies:** 1\
**Last updated:** [31 March 2019 11:51 UTC](https://publichappinessmovement.com/t/topic/1135 "2019-03-31T11:51:36Z")

</div>

WIP \<List application’s stakeholders and their priorities\> \<How website is/should be designed to meet their priorities\> The goals of “good design”, and this document altogether, are closely tied to the application’s s…

---

## [Software - App Behaviour/Use Case View](https://publichappinessmovement.com/t/topic/1136)

<div class="topic-metadata">

**Author:** [@ArtyS](https://publichappinessmovement.com/u/ArtyS)\
**Replies:** 0\
**Last updated:** [25 March 2019 18:39 UTC](https://publichappinessmovement.com/t/topic/1136 "2019-03-25T18:39:59Z")

</div>

This section describes the fl-maps behaviour and structure from the users’ perspective. This is designed to illustrate how the site should work and draw attention to any customer pain points/area of improvements. \<compl…

---

## [Components Directory](https://publichappinessmovement.com/t/topic/1147)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [26 March 2019 22:32 UTC](https://publichappinessmovement.com/t/topic/1147 "2019-03-26T22:32:41Z")

</div>

A list of all components installed in our platform, and links to our documentation on them Primary Components Docus - Built by one of our main partners, this allows the sidebar with our Discourse forum in it Discou…

---

## [Software Documentation - Introduction](https://publichappinessmovement.com/t/topic/1140)

<div class="topic-metadata">

**Author:** [@ArtyS](https://publichappinessmovement.com/u/ArtyS)\
**Replies:** 0\
**Last updated:** [25 March 2019 22:25 UTC](https://publichappinessmovement.com/t/topic/1140 "2019-03-25T22:25:08Z")

</div>

WIP 1. INTRODUCTION This guide is is designed to identify the main systems used to design and implement the fl-maps application, with the aim of addressing the primary concerns all major stakeholders (explained in the …

---

## [Software - fl-maps Code Structure/Logical View](https://publichappinessmovement.com/t/topic/1137)

<div class="topic-metadata">

**Author:** [@ArtyS](https://publichappinessmovement.com/u/ArtyS)\
**Replies:** 3\
**Last updated:** [25 March 2019 22:00 UTC](https://publichappinessmovement.com/t/topic/1137 "2019-03-25T22:00:17Z")

</div>

TBC

---

## [Organisational - The Team Page](https://publichappinessmovement.com/t/topic/1129)

<div class="topic-metadata">

**Author:** [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)\
**Replies:** 0\
**Last updated:** [20 March 2019 16:46 UTC](https://publichappinessmovement.com/t/topic/1129 "2019-03-20T16:46:39Z")

</div>

Here’s our Brighter Tomorrow Map team page, and the Public Happiness Movement team page. We maintain these to show off the amazing people who’ve helped build these hope-filled projects, and to give you something to show…

[Previous page](https://publichappinessmovement.com/c/webdevdocs/42.md)
