From f3bb932c1b7f09fd4bffef2ef403c11008f9fcb0 Mon Sep 17 00:00:00 2001
From: Matthew Somerville I am afraid we could not find the page you were looking for. Please try the front page or the
-main documentation.
+ Please try the front page or the
+main documentation.
diff --git a/_config.yml b/_config.yml
index 04b1e6ebeca..b65d0852b27 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,4 +1,3 @@
-baseurl: /
permalink: pretty
exclude: [ node_modules, bower_components ]
paginate: 10
diff --git a/_includes/footer.html b/_includes/footer.html
index ad1a317f327..25ffa94a760 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -14,10 +14,10 @@
When you set up FixMyStreet, you usually need to provide admin boundaries
for each of the
- bodies
+ bodies
you'll be sending reports to. If you're lucky, the boundaries might already
be available. If not, you'll have to make them. This page explains your
options.
@@ -25,7 +25,7 @@ been put somewhere that is *not* covered by any bodies.
This is the default setup of a new FixMyStreet installation (if you used the
- installation script or the
- AMI install).
+ installation script or the
+ AMI install).
Set
-
In your
Same as previous example: either set up your own instance of MapIt, or ask to
have your boundaries added to our custom one. If you want us to host it, we'll
- need KML shape files
+ need KML shape files
or a graphic showing the boundary clearly shown so we can copy it.
Note that now there may be more than one type of area, and you'll need to explicitly
nominate every area you're interested in with
-
- Start by finding the lat-long of some of the places you want to cover,
and look them up on global
MapIt (or maybe the UK one).
@@ -308,7 +308,7 @@ Use this type of boundary if:
Specifically, you need the Administrative Boundary
Levels (which will look like
The individual area_ids are also useful, because you put
- them into the
In your
@@ -383,9 +383,9 @@ Use this type of boundary if:
Finally, limit your installation to the specific areas you're interested
in (otherwise you'll be getting areas from the whole world). Identify the
specific areas you want to use, and list them explicitly in
-
@@ -58,14 +58,14 @@ at the same time as others -- but if you're not sure then just work through the
Even if you're not hosting the site yourself, you might want to install
the software in order to see how your customisation looks before putting
@@ -88,7 +88,7 @@ at the same time as others -- but if you're not sure then just work through the
You can just change the colour variables without needing to touch any other
@@ -105,7 +105,7 @@ at the same time as others -- but if you're not sure then just work through the
dropping in a graphics file.
We'll be adding instructions later, but meanwhile see the page
- about changing the CSS.
+ about changing the CSS.
- See more about templates.
+ See more about templates.
We've listed this separately from the other config settings because it
may take a little bit of testing to see what options work best —
@@ -143,10 +143,10 @@ at the same time as others -- but if you're not sure then just work through the
As part of that work, you'll need to set
-
As well as system settings (for example,
-
You should have set up the
- admin boundaries
+ admin boundaries
by this stage, because you need to associate each body with the area it covers.
For more information, see
- how FixMyStreet uses MapIt.
+ how FixMyStreet uses MapIt.
On a staging site, templates/CSS modified times aren't cached. Staging
@@ -230,7 +230,7 @@ The following are all the configuration settings that you can change in `conf/ge
@@ -271,10 +271,10 @@ The following are all the configuration settings that you can change in `conf/ge
Note that this setting is only relevant on a
- staging
+ staging
server.
On your
- production
+ production
server (where
Just adding a language here does not necessarily mean FixMyStreet will
always use it (for example, a language coded subdomain name or browser preference may be considered). See this page about
- languages and FixMyStreet for more information.
+ languages and FixMyStreet for more information.
Example:
You must provide the URL of a MapIt server, and nominate what types of
@@ -522,7 +522,7 @@ LANGUAGES:
should also specify the generation of MapIt data you are using, especially
if you are using our global MapIt service.
- Global MapIt uses OpenStreetMap data. From time to time we import the latest
data in order to pull in newly-added boundaries, or reflect changes to existing
ones. When this happens, the area IDs may change, which means the values in your
@@ -554,7 +554,7 @@ LANGUAGES:
MapIt's generation
Possible choices are
For more information, see the
- page about geocoding.
+ page about geocoding.
@@ -673,7 +673,7 @@ MAPIT_ID_GENERATION: 4
If you're running a site with multiple cobrands, you'll never want to
serve the Default cobrand on your
- production
+ production
server, so make sure you've set ALLOWED_COBRANDS correctly.
Providing a URL does not automatically enable the service — your cobrand
+ href="{{ "/glossary/#cobrand" | relative_url }}" class="glossary__link">cobrand
must be explicitly coded to use it. Contact us if you need to use Message
Manager with your FixMyStreet site.
- When you add a body
- to FixMyStreet, you specify which areas
+ When you add a body
+ to FixMyStreet, you specify which areas
it covers. The areas are typically defined by administrative boundaries: these
are not part of FixMyStreet, but are made available through our
- service called MapIt.
+ service called MapIt.
By convention, we also put "migration" SQL in here, so if the schema has changed since you installed and
@@ -101,7 +101,7 @@ you're doing is [customising your installation](/customising).
The translation strings are stored in
In addition to email and Open311, this is where the
custom
- back-end integrations
+ back-end integrations
are found.
- code for implementing FixMyStreet's Open311 functionality
+ code for implementing FixMyStreet's Open311 functionality
We want people using the code to keep it as up to date as they can, so that
they gain the benefits of any changes made to the code by us or by other users.
To do this, we need your help when you are making changes to the code, feeding
-the changes back to us and updating your code. More information:
@@ -110,7 +110,7 @@ technical information, see
href="#body" class="glossary__link">body.
The
- More information:
The
-
@@ -211,11 +211,11 @@ technical information, see
More information: More information: More information: More information: More information: More information:
On your dev server, you should set
- More information: More information: More information: More information: More information: More information: More information: More information: More information: More information:
Your production site should be configured to run as efficiently as possible: for
example, with caching disabled, and debugging switched off. Make sure you set
-
@@ -963,7 +963,7 @@ technical information, see
More information:
On your staging server, you should set
-
@@ -1011,7 +1011,7 @@ technical information, see
More information: More information: More information: Get your FixMyStreet FixMyStreet Platform
-
diff --git a/customising/boundaries.md b/customising/boundaries.md
index 97265bb2e68..6e307521358 100644
--- a/customising/boundaries.md
+++ b/customising/boundaries.md
@@ -8,7 +8,7 @@ title: Admin boundaries
Installing
-
Customising
-
Running FixMyStreet
-
Updating your code
Community
-
Blog
-
@@ -130,14 +130,14 @@ to a very specific area.
@@ -204,7 +204,7 @@ at the same time as others -- but if you're not sure then just work through the
Remember that this just covers the key parts of a custom installation. There's
a lot more you can change — for example, you can write custom Perl code
-for the Cobrand
+for the Cobrand
module if you want to override specific behaviour not covered by config
variables.
diff --git a/customising/cobrand-module.md b/customising/cobrand-module.md
index ff17b929856..3160e61adee 100644
--- a/customising/cobrand-module.md
+++ b/customising/cobrand-module.md
@@ -72,10 +72,10 @@ name.
* send_questionnaires
- By default, FixMyStreet [sends questionnaires]({{site.baseurl}}running/surveys)
+ By default, FixMyStreet [sends questionnaires]({{ "/running/surveys" | relative_url }})
(sometimes called _surveys_) four weeks after a user submitted a report. The
questionnaire encourages them to update the
- state
+ state
of the report. Return 0 to disable this feature so that surveys are never
sent.
diff --git a/customising/config.md b/customising/config.md
index ea2823f9061..2639f625fef 100644
--- a/customising/config.md
+++ b/customising/config.md
@@ -21,7 +21,7 @@ the Configuration page of your administration interface, at
The FixMyStreet code ships with an example configuration file:
`conf/general.yml-example`.
-As part of the [installation process]({{ site.baseurl }}install ), the example
+As part of the [installation process]({{ "/install " | relative_url }}), the example
file gets copied to `conf/general.yml`. You **must** edit this file to suit
your needs.
@@ -215,8 +215,8 @@ The following are all the configuration settings that you can change in `conf/ge
MAPIT_URL
+ MAPIT_URL
to be blank, and set
- MAPIT_TYPES
+ MAPIT_TYPES
to the special value ZZZ
. FixMyStreet will use a fake MapIt that always
returns "Everywhere" as the only area that contains the point — for any
location.
@@ -176,18 +176,18 @@ Use this type of boundary if you:
like this, so — especially if you are just doing this as a probationary
trial — we may be able to host this for you (note though that we do
rate-limit calls to MapIt). Either send us
- KML shape files,
+ KML shape files,
or if you can't do that, maybe a clear image of the map with the boundary
drawn on it for us to copy.
conf/general.yml
, you must set
- MAPIT_URL
+ MAPIT_URL
to either your MapIt or our custom one, and set
- MAPIT_TYPES
+ MAPIT_TYPES
to the areas you want (the actual values will depend on what that particular
MapIt is returning). You should also set
- MAPIT_ID_WHITELIST
+ MAPIT_ID_WHITELIST
to the ID of the single area you want.
MAPIT_URL: 'http://mapit.example.com'
@@ -219,13 +219,13 @@ Use this type of boundary if you:
MAPIT_ID_WHITELIST
+ MAPIT_ID_WHITELIST
(unless you want *all* the areas this MapIt returns for the given type, in
which case you can set it to be empty).
O04
or
O05
), which are the values for your
- MAPIT_TYPES
.
+ MAPIT_TYPES
.
Remember this data is boundary data from OpenStreetMap —
if the boundaries you need are not shown, you may have to set up your
own (described below). You can also click on any of the boundaries
@@ -318,7 +318,7 @@ Use this type of boundary if:
MAPIT_ID_WHITELIST
.
+ them into the MAPIT_ID_WHITELIST
.
conf/general.yml
file, point
- MAPIT_URL
+ MAPIT_URL
at the global MapIt server.
MAPIT_ID_WHITELIST
.
+ MAPIT_ID_WHITELIST
.
You should also set
- MAPIT_GENERATION
,
+ MAPIT_GENERATION
,
so that your areas can still be found when we update the global MapIt data.
MAPIT_URL: 'http://global.mapit.mysociety.org'
@@ -435,7 +435,7 @@ this data into a MapIt server and use that.
But if you can't do that, or the boundary data you have is not
definitive, you can create your own. Use any good GIS software to plot
the boundaries accurately, and then export it as
- KML shape files.
+ KML shape files.
MapIt can import these, so you can then either run your own MapIt
instance, or ask us to add it to our custom one.
diff --git a/customising/checklist.md b/customising/checklist.md
index 12358858c3b..1086113be4d 100644
--- a/customising/checklist.md
+++ b/customising/checklist.md
@@ -24,7 +24,7 @@ at the same time as others -- but if you're not sure then just work through the
Install the software on the server
Change the colour scheme
templates/web/base/about/faq-en-gb.html
GEOCODING_DISAMBIGUATION
+ GEOCODING_DISAMBIGUATION
setting.
- See more about the geocoder.
+ See more about the geocoder.
MAPIT_URL
+ MAPIT_URL
and the other MapIt config settings to match the service you're using.
FMS_DB_NAME
),
+ FMS_DB_NAME
),
every new site needs custom
- EMAIL_DOMAIN
+ EMAIL_DOMAIN
and
- EXAMPLE_PLACES
+ EXAMPLE_PLACES
settings. Make sure the example places you choose really do work if you enter them
as the location on the front page.
STAGING_SITE: 0
@@ -252,7 +252,7 @@ The following are all the configuration settings that you can change in `conf/ge
STAGING_SITE
is 1
):
- your staging site will send reports to a convenient email
+ your staging site will send reports to a convenient email
address instead of the relevant body's contact address.
This is very useful for testing!
STAGING_SITE
is 0
)
it will be ignored.
@@ -345,13 +345,13 @@ The following are all the configuration settings that you can change in `conf/ge
Remember that if you want your site to run in languages other than
English, you'll also need to check that the translations are
available, and your system supports the appropriate
- locales.
+ locales.
4
for
Thailand's national border
(hence 507455
and
- area type O02
):
+ area type O02
):
MAPIT_URL: http://global.mapit.mysociety.org/
MAPIT_TYPES: ['O02']
MAPIT_ID_WHITELIST: [507455]
@@ -600,18 +600,18 @@ MAPIT_ID_GENERATION: 4
GEOCODER
Google
, Bing
, or OSM
.
By default, FixMyStreet will use OSM
, the
- OpenStreetMap
+ OpenStreetMap
geocoder.
OSM
for
- OpenStreetMap.
+ OpenStreetMap.
Other options are GoogleOL
for Google Open Layers,
and other UK-specific values, including FMS
for UK FixMyStreet.
@@ -752,7 +752,7 @@ GEOCODING_DISAMBIGUATION:
moon
, then FixMyStreet will look for templates in the
@@ -808,7 +808,7 @@ ALLOWED_COBRANDS:
ALLOWED_COBRANDS
+ALLOWED_COBRANDS
config variable to decide which cobrand to use. In `conf/general.yml`, set it to your new cobrand like this:
ALLOWED_COBRANDS:
- fixmypark
In fact, `ALLOWED_COBRANDS` is
-[a little more complex that it looks]({{ site.baseurl }}customising/config/#allowed_cobrands).
+[a little more complex that it looks]({{ "/customising/config/#allowed_cobrands" | relative_url }}).
If you give it a list of cobrands, it will decide which one to use depending on string
matches on the incoming URL *for every request* But for most cases you don't want it to switch.
So if you just specify just one cobrand like this, FixMyStreet will simply use it.
@@ -268,7 +268,7 @@ FixMyStreet include the changes.
Remember that *all* you've done here is change the colours, **using the
existing default CSS and HTML**. Of course any and all of this can be
overridden (by overriding CSS files and overriding the bits of HTML that you
-want to change in the templates) but this is just so you can get going.
# Directionality
@@ -280,12 +280,12 @@ straightforward and involves two steps:
so that the `$direction` variable is set to `right`.
* Secondly, create a copy of the `templates/web/base/header.html` in
your own cobrand if you haven’t already (see
- [template customising]({{ site.baseurl }}customising/templates/) for more
+ [template customising]({{ "/customising/templates/" | relative_url }}) for more
details) and uncomment the `SET` line that sets `dir="rtl"`.
That’s it; recompile your CSS, reload your site and you will find that
FixMyStreet has switched to a right-to-left layout. Your next step will
-probably be to [change the language]({{ site.baseurl }}customising/language/)
+probably be to [change the language]({{ "/customising/language/" | relative_url }})
used by your site.
# Next steps...
@@ -293,11 +293,11 @@ used by your site.
If you want to customise the logo, [we have a tutorial for that](../logo/).
Now you have your own cobrand, adding your own HTML templates is straightforward.
+href="{{ "/glossary/#template" | relative_url }}" class="glossary__link">templates is straightforward.
-Please see our separate page on [customising templates]({{ site.baseurl }}customising/templates/).
+Please see our separate page on [customising templates]({{ "/customising/templates/" | relative_url }}).
### Feeding back changes
Finally, when you've finished creating your cobrand you should consider
-[feeding it back to us]({{site.baseurl}}feeding-back) so it becomes part of the FixMyStreet repository.
+[feeding it back to us]({{ "/feeding-back" | relative_url }}) so it becomes part of the FixMyStreet repository.
diff --git a/customising/fms_and_mapit.md b/customising/fms_and_mapit.md
index 9b6695f003c..c0260940401 100644
--- a/customising/fms_and_mapit.md
+++ b/customising/fms_and_mapit.md
@@ -7,30 +7,30 @@ author: dave
# How FixMyStreet assigns reports to bodies
GEOCODING_DISAMBIGUATION
.
+GEOCODING_DISAMBIGUATION
.
You typically need to do this so the geocoder only considers places in the area
your FixMyStreet site is serving. For example, you may want to limit results to
a specific country or city.
-The options vary [depending on which geocoder you use]({{ site.baseurl }}customising/config/#geocoding_disambiguation).
+The options vary [depending on which geocoder you use]({{ "/customising/config/#geocoding_disambiguation" | relative_url }}).
## Detailed flow: location → map pin → drop-down menu
diff --git a/customising/index.md b/customising/index.md
index 7e0103c34d3..610e44ae354 100644
--- a/customising/index.md
+++ b/customising/index.md
@@ -16,12 +16,12 @@ title: Customising
## Your own cobrand
Whatever you change, you'll almost certainly need to create a
-cobrand,
+cobrand,
which is the mechanism FixMyStreet uses to let you deviate from its default
appearance and behaviour.
As well as the
-[configuration settings]({{ site.baseurl }}customising/config/) you specify in
+[configuration settings]({{ "/customising/config/" | relative_url }}) you specify in
the `conf/general.yml` file, a cobrand is made up of a set of templates, CSS,
and an *optional* Cobrand module that contains custom Perl code. There are
defaults for all of these, so the cobrand only needs to override things that are
@@ -41,20 +41,20 @@ things like directory names). The default cobrand is called Default (`default`).
There's a lot you can customise on your own FixMyStreet site.
-We've prepared a [customisation checklist]({{ site.baseurl }}customising/checklist/)
+We've prepared a [customisation checklist]({{ "/customising/checklist/" | relative_url }})
which covers all the key things you should work through when installing your own
site.
But if you just want to see what's possible, here are some of the
aspects of FixMyStreet that you can customise:
-* [how to translate or change FixMyStreet's language]({{ site.baseurl }}customising/language/)
-* [how FixMyStreet assigns reports to bodies]({{ site.baseurl }}customising/fms_and_mapit/)
-* [how to customise the geocoder]({{ site.baseurl }}customising/geocoder/)
-* [how to change the design]({{ site.baseurl }}customising/css/)
-* [how to customise templates]({{ site.baseurl }}customising/templates/)
-* [how reports are sent by FixMyStreet]({{ site.baseurl }}customising/send_reports/)
-* [all the config settings]({{ site.baseurl }}customising/config/)
+* [how to translate or change FixMyStreet's language]({{ "/customising/language/" | relative_url }})
+* [how FixMyStreet assigns reports to bodies]({{ "/customising/fms_and_mapit/" | relative_url }})
+* [how to customise the geocoder]({{ "/customising/geocoder/" | relative_url }})
+* [how to change the design]({{ "/customising/css/" | relative_url }})
+* [how to customise templates]({{ "/customising/templates/" | relative_url }})
+* [how reports are sent by FixMyStreet]({{ "/customising/send_reports/" | relative_url }})
+* [all the config settings]({{ "/customising/config/" | relative_url }})
Note that none of the above require you to know or write any Perl (the language
FixMyStreet is mostly written in).
@@ -79,4 +79,4 @@ and CSS you may not feel you have to, but it's likely you'll have needed to
make actual code changes for your particular environment, and feeding these
back means it is easier to update the code from upstream in future to gain new
features and bugfixes.
-See [more about feeding back changes]({{ site.baseurl }}feeding-back/).
+See [more about feeding back changes]({{ "/feeding-back/" | relative_url }}).
diff --git a/customising/integration.md b/customising/integration.md
index 36fabce4cb1..95806a039c4 100644
--- a/customising/integration.md
+++ b/customising/integration.md
@@ -15,10 +15,10 @@ author: dave
## Integrate if you can!
-Often bodies,
+Often bodies,
especially if they are local government bodies, already have databases and
back-end systems for tracking problems they are fixing. FixMyStreet works fine
-if you just use the default send method, which is email, but it's *much better* if you
can integrate with the body's back-end systems.
@@ -27,7 +27,7 @@ cooperation they offer FixMyStreet. In general, once FixMyStreet is integrated
it's *easier* for the body's staff to use.
Our experience with FixMyStreet in the UK is that councils that integrate with
-FixMyStreet also choose to run it as a cobrand (that is, branded and on their own website). In
fact, cobranding and integrating are not dependent on each other, so if you do
one it is not necessary to do the other.
@@ -62,7 +62,7 @@ one it is not necessary to do the other.
Although you can approach each of these levels of integration as custom
programming tasks, we *strongly recommend* you use the
-Open311
+Open311
open standard when you can.
Strictly speaking it's possible to implement any of these levels independently
@@ -73,7 +73,7 @@ previous one.
You can integrate with just one body (while the others continue to use email).
You can even just integrate certain
-categories
+categories
for a body — for example, "Potholes" and "Fallen trees" could be
submitted by Open311, while "Streetlighting" problems are sent by email.
@@ -92,7 +92,7 @@ into back-end:
-If the body's server is already Open311 compliant, you can switch on the first stage
of integration -- which puts the problem report directly into the body's
back-end system instead of emailing it -- just by setting the send method (for
@@ -108,7 +108,7 @@ address.
If you want to have the problem reports for some categories to be integrated
into their body's back-end, but continue to send others by email, you can
-devolve
choosing the send method to the contacts. Set the body's send method as above,
but also enable **contacts can be devolved**. Now you can set specific
diff --git a/customising/language/index.md b/customising/language/index.md
index 921d3b8fbcd..f998127efd4 100644
--- a/customising/language/index.md
+++ b/customising/language/index.md
@@ -12,7 +12,7 @@ run a site in multiple languages. Work in progress.
## Setup
The translations for most FixMyStreet strings are stored as standard
-gettext
+gettext
files, in `FixMyStreet.po` files under `locale/LANGUAGES
+LANGUAGES
configuration option to the languages your site uses. This is an array of
strings specifying what language or languages your installation uses. For
example, if your site is available in English, French, and German, you would
diff --git a/customising/logo.md b/customising/logo.md
index 32c261b2ef2..14c9a5051b8 100644
--- a/customising/logo.md
+++ b/customising/logo.md
@@ -13,7 +13,7 @@ author: matthew
## Background
Do make sure you have followed the
-[initial CSS guide]({{ site.baseurl }}customising/css/) first to set up the
+[initial CSS guide]({{ "/customising/css/" | relative_url }}) first to set up the
initial CSS for your own cobrand. There are a few ways you can have your own
logo on your cobrand, which we will go through below. We first talk about
replacing the image itself, and then changing the size.
diff --git a/customising/send_reports.md b/customising/send_reports.md
index 46fafa27add..22d46034d9a 100644
--- a/customising/send_reports.md
+++ b/customising/send_reports.md
@@ -52,7 +52,7 @@ it successfully.
Although by default FixMyStreet sends reports by email, it's possible to inject reports *directly* into some
bodies' databases or back-end systems. This is usually much better than using email because it's more convenient
for the staff working at the receiving end. See
-[more about integration]({{ site.baseurl }}customising/integration/) for details.
+[more about integration]({{ "/customising/integration/" | relative_url }}) for details.
## Technical investigation
@@ -67,7 +67,7 @@ But if you want to see what's going on, you can use these options:
* the `--verbose` option prints out a summary of reports that did not get
sent. Incidentally, this option is useful even in
- production,
+ production,
because it causes cron to send a logging email containing this summary of
failed-to-send reports if anything goes wrong.
diff --git a/directory_structure.md b/directory_structure.md
index dd469c685a3..e4089201a2f 100644
--- a/directory_structure.md
+++ b/directory_structure.md
@@ -56,7 +56,7 @@ you're doing is [customising your installation](/customising).
The primary configuration file is general.yml
. This file isn't in the git
repository (since it will contain information specific to your installation, including
the database password), but example files are.
- See details of all
+ See details of all
configuration settings.
@@ -75,7 +75,7 @@ you're doing is [customising your installation](/customising).
The db
directory contains SQL for creating the tables and seeding some of the data —
for example, schema.sql
contains the full database structure, and you use this when
you first create the database (see 2. Create a new PostgreSQL database in the
- installation instructions if you're installing manually).
+ installation instructions if you're installing manually).
.po
files in directories specific to
the locale and encoding. For example, nn_NO.UTF-8/
contains the translations
for the Norwegian site. See more about
- translating FixMyStreet.
+ translating FixMyStreet.
default/
. In this way, cobrands only need to override templates that
differ from FixMyStreet's default — it's feasible for your cobrand's template
directories to be empty.
- See more abobut customising your site.
+ See more abobut customising your site.
@@ -92,7 +92,7 @@ technical information, see
An administrator is a user who has access to the back-end
admin (so can do things like add or edit bodies, modify problem reports, and manage
+ class="glossary__link">problem reports, and manage
users). An administrator should also have access to the email account
to which user support emails are sent.
MAPIT_ID_WHITELIST
+ MAPIT_ID_WHITELIST
config setting can explicitly list the only
areas your installation will recognise — alternatively, you can
limit them by area type
@@ -159,11 +159,11 @@ technical information, see
MAPIT_TYPES
+ MAPIT_TYPES
config setting specifies the area types your installation uses.
@@ -325,15 +325,15 @@ technical information, see
@@ -355,15 +355,15 @@ technical information, see
password). Instead, there is an example file,
ALLOWED_COBRANDS
+ ALLOWED_COBRANDS
config setting, based on the URL of the incoming request.
cong/general.yml-example
you can
copy and edit. If you install using the
- installation script
- or the AMI, this file will
+ installation script
+ or the AMI, this file will
automatically be created for you.
@@ -1091,7 +1091,7 @@ technical information, see
@@ -428,7 +428,7 @@ technical information, see
STAGING_SITE
+ STAGING_SITE
to 1
.
@@ -489,7 +489,7 @@ technical information, see
@@ -508,14 +508,14 @@ technical information, see
FixMyStreet can use the OpenStreetMap, Google, or Bing geocoders, or a custom one.
The
- GEOCODER
+ GEOCODER
setting controls which one your site uses.
@@ -536,7 +536,7 @@ technical information, see
@@ -696,7 +696,7 @@ technical information, see
@@ -817,7 +817,7 @@ technical information, see
STAGING_SITE
+ STAGING_SITE
to 0
.
STAGING_SITE
+ STAGING_SITE
to 1
.
@@ -1065,7 +1065,7 @@ technical information, see
class="glossary__link">administrator
@@ -69,9 +69,9 @@ If you want to get FixMyStreet up and running, this is what you need to do:
-
@@ -136,10 +136,10 @@ If you want to get FixMyStreet up and running, this is what you need to do:
Actually setting up a FixMyStreet project is just the beginning —
you need to be committed for the long term to see the site grow and
succeed. There will be
- user support
+ user support
to do, marketing and press to handle, liaison with the authorities you're
sending the reports to, and perhaps even
- integration
+ integration
(because email is the easiest, but not necessarily the best, way to send
those reports).
@@ -148,15 +148,15 @@ If you want to get FixMyStreet up and running, this is what you need to do:
We've written a clear guide for anyone who's thinking about [setting up and
-running FixMyStreet]({{ site.baseurl }}The-FixMyStreet-Platform-DIY-Guide-v1.1.pdf).
+running FixMyStreet]({{ "/The-FixMyStreet-Platform-DIY-Guide-v1.1.pdf" | relative_url }}).
If you're thinking of running such a project, you **must** read it first -- it
explains why these sites work, and what you need to think about before you start.
If you still want to be involved, we welcome questions about how it works
-[on our mailing list]({{ site.baseurl }}community/).
+[on our mailing list]({{ "/community/" | relative_url }}).
Or, if you're outside the UK, email
international@mysociety.org.
-There's also the [FixMyStreet blog]({{ site.baseurl }}blog/) where we post version release
+There's also the [FixMyStreet blog]({{ "/blog/" | relative_url }}) where we post version release
information and other progress reports. And we often post FixMyStreet news on
the mySociety blog too.
diff --git a/index.md b/index.md
index bb76f58ebbd..753490ffb2c 100644
--- a/index.md
+++ b/index.md
@@ -6,10 +6,10 @@ title: Welcome
@@ -108,8 +108,8 @@ title: Welcome
Learn more
site up and running
CONTACT_EMAIL
+CONTACT_EMAIL
and
-DO_NOT_REPLY_EMAIL
+DO_NOT_REPLY_EMAIL
or whatever you wish to use. postfix is installed so that outgoing email will
work, but this may need further configuration.
diff --git a/install/database.md b/install/database.md
index 5390cd5f617..f282c8985be 100644
--- a/install/database.md
+++ b/install/database.md
@@ -33,4 +33,4 @@ Then you should be able to access the database with:
## Configuration
When you've got everything working, you'll need to update the
-[database config settings]({{ site.baseurl }}customising/config/#fms_db_host).
+[database config settings]({{ "/customising/config/#fms_db_host" | relative_url }}).
diff --git a/install/fixmystreet-with-sms.md b/install/fixmystreet-with-sms.md
index 12f631e4248..4d6ce943607 100644
--- a/install/fixmystreet-with-sms.md
+++ b/install/fixmystreet-with-sms.md
@@ -7,7 +7,7 @@ title: Using FixMyStreet with SMS
We're sometimes asked about running FixMyStreet with - SMS. + SMS. With SMS, users can report problems by text message instead of using the web interface. This page describes how it can work, and what you must consider before going ahead. @@ -26,7 +26,7 @@ SMS are, and why we always recommend you establish and run your site on the web ### Main issues: duplicate reports, no location information One important aspect to FixMyStreet is that most -problem reports are about problems with specific locations. On the web, this +problem reports are about problems with specific locations. On the web, this means we can present the user with a map to click on. This interface, encouraging people to click on a map, serves a couple of functions: @@ -34,7 +34,7 @@ This interface, encouraging people to click on a map, serves a couple of functio * it deters duplicate reports being sent for the same problem, because it's obvious if a problem has already been reported (a pin will already be there) * it provides an accurate - lat-long + lat-long position of the location of the problem The main problem with SMS — although there are others — is that @@ -72,7 +72,7 @@ below) first. In both cases, you start by advertising a number (possibly a shortcode which is easier for people to remember) for people to send SMS reports to. This means you should -[customise your templates]({{ site.baseurl }}customising/templates), because (when it's running live) the number should presumably appear on the website +[customise your templates]({{ "/customising/templates" | relative_url }}), because (when it's running live) the number should presumably appear on the website too. ## Method 1: use a mobile phone (yes, really!) @@ -110,8 +110,8 @@ of the reporter. We have a web application called -Message Manager that accepts incoming messages from an SMS gateway, and makes them available to -staff users +Message Manager that accepts incoming messages from an SMS gateway, and makes them available to +staff users within the FixMyStreet website. A staff user on a FixMyStreet site that is using Message Manager can see incoming SMS reports, reply to them, and turn them into reports by clicking on the map. This effectively integrates SMS diff --git a/install/index.md b/install/index.md index d12e08cff74..117279cfd16 100644 --- a/install/index.md +++ b/install/index.md @@ -13,16 +13,16 @@ title: Installing ## Four ways to install -* [Use an install script for Debian or Ubuntu servers]({{ site.baseurl }}install/install-script/) -* [Use a FixMyStreet AMI for Amazon EC2]({{ site.baseurl }}install/ami/) -* [Vagrant installation]({{ site.baseurl }}install/vagrant/), for development -* [Install the software manually]({{ site.baseurl }}install/manual-install/) +* [Use an install script for Debian or Ubuntu servers]({{ "/install/install-script/" | relative_url }}) +* [Use a FixMyStreet AMI for Amazon EC2]({{ "/install/ami/" | relative_url }}) +* [Vagrant installation]({{ "/install/vagrant/" | relative_url }}), for development +* [Install the software manually]({{ "/install/manual-install/" | relative_url }}) FixMyStreet is a web application written in Perl, using the Catalyst framework. Installation deploys the core code and also manages its dependencies. If you're not technical, this can be a little daunting — if you haven't -already done so, [get in touch]({{ site.baseurl }}community) and ask for help. +already done so, [get in touch]({{ "/community" | relative_url }}) and ask for help. Please also see the instructions for [updating your code](/updating/) once it's installed. diff --git a/install/install-script.md b/install/install-script.md index afe94991a49..8f4c9d9862c 100644 --- a/install/install-script.md +++ b/install/install-script.md @@ -11,7 +11,7 @@ title: Install script FixMyStreet on your server.
-Note that this is just one of [four ways to install FixMyStreet]({{ site.baseurl }}install/). +Note that this is just one of [four ways to install FixMyStreet]({{ "/install/" | relative_url }}). ## Warning: installation changes your setup! diff --git a/install/manual-install.md b/install/manual-install.md index f399338c2b9..3ac14b82560 100644 --- a/install/manual-install.md +++ b/install/manual-install.md @@ -11,7 +11,7 @@ title: Installing but the other installation options may be easier: Note that this is just one of -[four ways to install FixMyStreet]({{ site.baseurl }}install/) +[four ways to install FixMyStreet]({{ "/install/" | relative_url }}) (the other ways are easier!). @@ -132,7 +132,7 @@ $ {% endhighlight %} You should be able to connect to the database with `psql -U fms fms` -- if not, -you will need to investigate [how to allow access to your PostgreSQL database]({{ site.baseurl }}install/database). +you will need to investigate [how to allow access to your PostgreSQL database]({{ "/install/database" | relative_url }}). #### 5b. Install database schema @@ -157,22 +157,22 @@ $ cp conf/general.yml-example conf/general.yml The bare minimum of settings you will need to fill in or update are: -* [FMS_DB_PASS]({{ site.baseurl }}customising/config/#fms_db_pass) -- this is the password for the database. (Also obviously change any other database settings you did differently here.) -* [BASE_URL]({{ site.baseurl }}customising/config/#base_url) -- for using the development server, set to `'http://localhost:3000/'`. This is the URL of the homepage of your FixMyStreet installation. -* [MAPIT_URL]({{ site.baseurl }}customising/config/#mapit_url) -- for the development server, set to `'http://localhost:3000/fakemapit/'`. This would be the URL of a MapIt installation, as and when you use one. +* [FMS_DB_PASS]({{ "/customising/config/#fms_db_pass" | relative_url }}) -- this is the password for the database. (Also obviously change any other database settings you did differently here.) +* [BASE_URL]({{ "/customising/config/#base_url" | relative_url }}) -- for using the development server, set to `'http://localhost:3000/'`. This is the URL of the homepage of your FixMyStreet installation. +* [MAPIT_URL]({{ "/customising/config/#mapit_url" | relative_url }}) -- for the development server, set to `'http://localhost:3000/fakemapit/'`. This would be the URL of a MapIt installation, as and when you use one. Some others you might want to look at, though the defaults are enough for it to run: -* [EMAIL_DOMAIN]({{ site.baseurl }}customising/config/#email_domain) -- the email domain that emails will be sent from -* [CONTACT_EMAIL]({{ site.baseurl }}customising/config/#contact_email) -- the email address to be used on the site for the contact us form. -* [DO_NOT_REPLY_EMAIL]({{ site.baseurl }}customising/config/#do_not_reply_email) -- the email address to be used on the site for e.g. confirmation emails. -* [STAGING_SITE]({{ site.baseurl }}customising/config/#staging_site) -- if this is 1 then all email (alerts and reports) will be sent to the contact email address. Use this for development sites. -* [UPLOAD_DIR]({{ site.baseurl }}customising/config/#upload_dir) -- this is the location where images will be stored when they are uploaded. It should be accessible by and writeable by the FixMyStreet process. -* [GEO_CACHE]({{ site.baseurl }}customising/config/#geo_cache) -- this is the location where Geolocation data will be cached. It should be accessible by and writeable by the FixMyStreet process. +* [EMAIL_DOMAIN]({{ "/customising/config/#email_domain" | relative_url }}) -- the email domain that emails will be sent from +* [CONTACT_EMAIL]({{ "/customising/config/#contact_email" | relative_url }}) -- the email address to be used on the site for the contact us form. +* [DO_NOT_REPLY_EMAIL]({{ "/customising/config/#do_not_reply_email" | relative_url }}) -- the email address to be used on the site for e.g. confirmation emails. +* [STAGING_SITE]({{ "/customising/config/#staging_site" | relative_url }}) -- if this is 1 then all email (alerts and reports) will be sent to the contact email address. Use this for development sites. +* [UPLOAD_DIR]({{ "/customising/config/#upload_dir" | relative_url }}) -- this is the location where images will be stored when they are uploaded. It should be accessible by and writeable by the FixMyStreet process. +* [GEO_CACHE]({{ "/customising/config/#geo_cache" | relative_url }}) -- this is the location where Geolocation data will be cached. It should be accessible by and writeable by the FixMyStreet process. If you are using Bing or Google maps you should also set one of -[BING_MAPS_API_KEY]({{ site.baseurl }}customising/config/#bing_maps_api_key) or -[GOOGLE_MAPS_API_KEY]({{ site.baseurl }}customising/config/#google_maps_api_key). +[BING_MAPS_API_KEY]({{ "/customising/config/#bing_maps_api_key" | relative_url }}) or +[GOOGLE_MAPS_API_KEY]({{ "/customising/config/#google_maps_api_key" | relative_url }}). ### 7. Set up some required data @@ -225,7 +225,7 @@ base for your own user crontab. ### Deployment -For production +For production use of FixMyStreet, we suggest you use Apache or nginx, and FastCGI. It should also be possible to run it using Plack/PSGI, if that is preferable. @@ -274,7 +274,7 @@ our developers and on mySociety's servers. ## Problems? -See some [troubleshooting hints]({{ site.baseurl }}install/troubleshooting/) if +See some [troubleshooting hints]({{ "/install/troubleshooting/" | relative_url }}) if something's not working for you. ## When you've finished diff --git a/install/troubleshooting.md b/install/troubleshooting.md index 69cfce3066a..54475c69459 100644 --- a/install/troubleshooting.md +++ b/install/troubleshooting.md @@ -7,11 +7,11 @@ title: Installation troubleshootingIf you've installed FixMyStreet using the - installation script + installation script or the - AMI, you should be good to go. + AMI, you should be good to go. However, if you've done a - manual install, + manual install, sometimes you might bump into a problem if your system is different from what FixMyStreet expects. These hints might help.
@@ -32,7 +32,7 @@ title: Installation troubleshooting ### locale: must be installed By default, FixMyStreet uses the `en_GB.UTF-8` -locale. +locale. If it is not installed then it may not start. You need this locale on your system even if you're planning on running your site in a different language. @@ -49,7 +49,7 @@ Check to see what locales your system currently supports with: ### Template caching FixMyStreet caches compiled -templates +templates alongside the source files, so the `templates/web/` directory needs to be writable by the process that is running FixMyStreet. @@ -97,7 +97,7 @@ aren't showing up, do `bin/make_css` to create them. ### Bad YAML format in config settings: no response or 500 error -When you change any of the [config settings]({{ site.baseurl }}customising/config/) +When you change any of the [config settings]({{ "/customising/config/" | relative_url }}) in `conf/general.yml` (which you will do!), make sure you don't break the YAML format. If FixMyStreet can't read that file cleanly, it may time out, causing fastcgi to eventually respond with a 500 Internal Server Error. diff --git a/install/vagrant.md b/install/vagrant.md index 3cb404682ae..c9d95ef364e 100644 --- a/install/vagrant.md +++ b/install/vagrant.md @@ -9,16 +9,16 @@ title: Vagrant Vagrant provides an easy method to set up virtual development environments — for further information see the Vagrant website. We bundle an example Vagrantfile in the repository, which runs the -install script for you. +install script for you. -Note that this is just one of [four ways to install FixMyStreet]({{ site.baseurl }}install/). +Note that this is just one of [four ways to install FixMyStreet]({{ "/install/" | relative_url }}).This page is useful when the media ask how many reports your site has @@ -131,7 +131,7 @@ them by clicking on the link at the top of any admin page: to official bodies.
-* **Bodies**Bodies sometimes change their email addresses, and dealing with this is a regular task for an administrator. You can add or edit bodies from these - pages. You can also add or edit their categories and categories and contact email addresses. Bodies are associated with - one or more areas. More information on bodies. + one or more areas. More information on bodies.
* **Reports**
You will need to do this often - for example, when a user has emailed to
@@ -172,7 +172,7 @@ them by clicking on the link at the top of any admin page:
updates, status changes, and so on.
* **Survey**
By default, FixMyStreet sends out surveys (also called
+ href="{{ "/glossary/#survey" | relative_url }}" class="glossary__link">surveys (also called
questionnaires) to users four weeks after they reported a problem.
@@ -184,13 +184,13 @@ them by clicking on the link at the top of any admin page:
If you don't want your FixMyStreet site to send out surveys, you can switch off this behaviour in a cobrand module. + href="{{ "/customising/cobrand-module/" | relative_url }}">cobrand module.
* **Users**Each user has an individual page in the admin, and it is sometimes quicker @@ -203,23 +203,23 @@ them by clicking on the link at the top of any admin page: this page.
-* **Flagged**This can be useful if your team has more than one administrator. More information about managing users. + href="{{ "/glossary/#administrator" | relative_url }}" class="glossary__link">administrator. More information about managing users.
* **Stats**You might use this if you want to know how many reports have been sent @@ -234,8 +234,8 @@ them by clicking on the link at the top of any admin page: ## Report states -A problem report can be in -one of these states: +A problem report can be in +one of these states:
- A staff user + A staff user associated with the report's body (or an administrator) can + href="{{ "/glossary/#administrator" | relative_url }}" class="glossary__link">administrator) can mark a report as closed without declaring it to be fixed. Possible states are:
@@ -333,10 +333,10 @@ one of these- Reports can be hidden by an administrator, or (if the cobrand allows it) by a staff user associated + href="{{ "/glossary/cobrand" | relative_url }}" class="glossary__link">cobrand
@@ -347,7 +347,7 @@ one of these
Remember that a hidden report will probably have been sent to the body responsible (so it can + href="{{ "/glossary/#body" | relative_url }}" class="glossary__link">body responsible (so it can still be fixed) — hiding a report simply prevents it being displayed.
- When FixMyStreet sends a problem report to the problem report to the body responsible, sometimes that email bounces - back. This usually means the contact email address you've got for that body (and - that category) is + that category) is wrong, or has changed.
@@ -555,9 +555,9 @@ FixMyStreet site.
In the UK, it's common for each body to have multiple contacts (usually email + href="{{ "/glossary/#contact" | relative_url }}" class="glossary__link">contacts (usually email addresses) — for more information, see About bodies and contacts. Your + href="{{ "/running/bodies_and_contacts/" | relative_url }}">About bodies and contacts. Your site may be the same.
@@ -601,11 +601,11 @@ FixMyStreet site. queries directly on the database.
- Staff users can see
- the dashboard for
+ Staff users can see
+ the dashboard for
their own body by going to /dashboard
when they are logged
into the public site. If they don't have a staff user set up, offer to
- do this for them: see managing users.
+ do this for them: see managing users.
- FixMyStreet constructs the list of categories of report (for example, "Pothole" or "Graffiti") based on what services the body (or bodies) in that area provide. See Managing bodies and contacts to + href="{{ "/glossary/#area" | relative_url }}" class="glossary__link">area provide. See Managing bodies and contacts to see how this works.
@@ -761,7 +761,7 @@ FixMyStreet site.
To understand more about about this, see Managing bodies and contacts. + href="{{ "/running/bodies_and_contacts/" | relative_url }}">Managing bodies and contacts.
This problem may indicate that the boundary data you are using is either incorrect, or not accurate enough — for more information, see How FixMyStreet uses MapIt. + href="{{ "/customising/fms_and_mapit/" | relative_url }}">How FixMyStreet uses MapIt.
Your FixMyStreet installation will normally be using maps from an - external source — by default this is OpenStreetMap.
@@ -962,6 +962,6 @@ We wish you all the best with your FixMyStreet problem reporting site. If you're running an installation outside the UK please let us know by emailing international@mysociety.org. If you have any questions, don't -hesitate to contact us and we'll get back to you as +hesitate to contact us and we'll get back to you as soon as possible with an answer. diff --git a/running/bodies_and_contacts.md b/running/bodies_and_contacts.md index a5190db36db..c07e2c52a46 100644 --- a/running/bodies_and_contacts.md +++ b/running/bodies_and_contacts.md @@ -7,9 +7,9 @@ author: dave # Managing bodies and contacts in FixMyStreet
A body is the authority to which problem -reports will be sent. Each body needs one or more contacts +reports will be sent. Each body needs one or more contacts (typically these are email addresses) to which particular -categories of problem are sent.
+categories of problem are sent. For [FixMyStreet in the UK](https://www.fixmystreet.com/), bodies are councils (county, district, and metropolitan). @@ -22,7 +22,7 @@ Click on **Bodies** and fill in the form. Normally, you _must_ provide a name and pick at least one area it covers. See [How FixMyStreet uses MapIt](/customising/fms_and_mapit) for more information on how these areas are chosen. -You can specify a send method. This is *how* FixMyStreet will send the +You can specify a send method. This is *how* FixMyStreet will send the problem reports to this body. If you leave it blank, **send method will default to email**. @@ -98,13 +98,13 @@ possible if the body to which you are trying to send reports supports them. Some do; many do not. See -[more about integration]({{ site.baseurl }}customising/integration/) +[more about integration]({{ "/customising/integration/" | relative_url }}) to understand the different ways this can work. The first stage of integration is injecting problem reports directly into the body's back-end system. We like -Open311, +Open311, which is an open standard for submitting problem reports to a body automatically (by sending the data directly to a webservice that consumes it). FixMyStreet also has a number of @@ -127,10 +127,10 @@ it](https://www.mysociety.org/blog/open311-explained). In fact, if you're working on an installation that can connect to bodies using a method other than email, not *all* of a body's contacts need to be sent the same way. It's possible to specify a different -send method +send method for an individual contact. To do this you need to tell FixMyStreet that, for this body, the decision of which send method to use can be -devolved +devolved to the contacts. You'll need to edit the body (in `/admin`) and check the box marked "Contacts can be devolved". Then mark each of the contacts that are not using the body's send method (which by default is email) as "devolved", and diff --git a/running/example_press_releases.md b/running/example_press_releases.md index 221bd137534..9a68cfd87b6 100644 --- a/running/example_press_releases.md +++ b/running/example_press_releases.md @@ -14,7 +14,7 @@ Adapt the wording so that it’s suitable for your project — or of course, you may wish to write your own press releases from scratch. Then send it to your media contacts, as described in our -[guide to promoting FixMyStreet]({{site.baseurl}}running/promotion). +[guide to promoting FixMyStreet]({{ "/running/promotion" | relative_url }}). It’s best to copy and paste the text into the body of an email, rather than send it as an attachment: journalists say that they are far more likely to read diff --git a/running/index.md b/running/index.md index 1fd8baf6136..a2a2fa40dde 100644 --- a/running/index.md +++ b/running/index.md @@ -27,7 +27,7 @@ installation at `/admin`. When you first deploy your installation of FixMyStreet, this is just a public directory. Obviously, for a -production +production server you should **restrict access to authorised users only**. For example, if you're running the Apache webserver, you can use `htaccess` to do this. diff --git a/running/promotion.md b/running/promotion.md index 54abdb0c01c..b0ba3caff71 100644 --- a/running/promotion.md +++ b/running/promotion.md @@ -168,7 +168,7 @@ Send details of your launch to any outlet you think will cover it. Be clear and concise: explain what the site is for and how it benefits users. Not sure how to write a press release? -[We’ve provided a template here]({{ site.baseurl }}running/example_press_releases). +[We’ve provided a template here]({{ "/running/example_press_releases" | relative_url }}). You may wish to send out two types of press release: @@ -264,8 +264,8 @@ Set up accounts on whichever social media is most used in your country: in the UK, we have FixMyStreet accounts on Twitter and Facebook. You have the option to set up links to your social media accounts in the site’s footer, report pages, etc: you can -[read more about customising your FixMyStreet site here]({{ site.baseurl }}customising/) -— or [contact us]({{ site.baseurl }}community/) if you need more help. +[read more about customising your FixMyStreet site here]({{ "/customising/" | relative_url }}) +— or [contact us]({{ "/community/" | relative_url }}) if you need more help. You’ll need to monitor your accounts daily, in case people ask you questions that need a prompt reply. The easiest way is to set up your accounts so that @@ -446,7 +446,7 @@ events, blog posts, news stories - you will already have content for your newsletter; you’ll just need to link to it. Make sure you invite users to sign up to your newsletter. Check our -[documentation on customising your site]({{ site.baseurl }}customising/), +[documentation on customising your site]({{ "/customising/" | relative_url }}), or mySociety can help you include a message about the newsletter at various key points, like: diff --git a/running/surveys.md b/running/surveys.md index a319bafb004..37db39c5a14 100644 --- a/running/surveys.md +++ b/running/surveys.md @@ -11,16 +11,16 @@ author: dave email inviting that user to complete a survey (which we also sometimes call a questionnaire). The survey is presented as a page on the site that asks the user about the current - state + state of the problem (for example, it may have been fixed), and lets them add an - update + update too. We recommend that you keep this feature enabled, because it gives you useful data about the problems that have been reported on your site, and an indication of the performance of the -bodies +bodies that should be fixing them. Some users will report a problem and then won't really think about it after that. We're happy with this, because it's how the site is supposed to work — reporting a problem is easy and doesn't demand @@ -58,9 +58,9 @@ only because the user agreed to this. The email that is sent out is made using the `questionnaire.txt` template. The default is in `/templates/email/default/`. Of course, you should override this in your own -cobrand +cobrand — see more about -[customising email templates]({{site.baseurl}}customising/templates/#emails). +[customising email templates]({{ "/customising/templates/#emails" | relative_url }}). The email message contains a link to the survey page that includes a token that authenticates the user who submitted the report (this is possible because it is @@ -90,10 +90,10 @@ text of the report that was submitted. ## What's in the survey? The default survey invites the user to make an -update +update to the problem report: - * change the state + * change the state — for example, to _fixed_, because it's been fixed (unless it was already in that state) * add a comment or description (optional) @@ -108,7 +108,7 @@ It also asks: The default template is defined in `/templates/web/default/questionnaire/*`, with the questions in `index`. As with all templates, you can override these with your own cobrand — for details, see -[customising templates]({{site.baseurl}}customising/templates/#emails). +[customising templates]({{ "/customising/templates/#emails" | relative_url }}). Note that if you want to collect other data in your survey, you'll need to update the source code to handle this. @@ -120,7 +120,7 @@ comment is not optional. ## How to see the results You can see the collected results of surveys by logging in as an -administrator +administrator and visiting `admin/questionnaire` in the admin (or click on **Survey** in the admin menu bar). If we are hosting the site for you and you don't have admin access, ask us to send you the results. @@ -158,10 +158,10 @@ had not previously engaged with authorities to do so? How complex these results are will depend to some extent on the states that your site allows. For example, if you've allowed -staff users +staff users to have more detailed states to choose from than the public (such as "fixed — council", or "in progress"), then you'll have more combinations to -deal with. See the [admin manual]({{site.baseurl}}running/admin_manual/) for more +deal with. See the [admin manual]({{ "/running/admin_manual/" | relative_url }}) for more information about the report states that are available to staff users. ## How to turn questionnaire-sending off diff --git a/training/admins.md b/training/admins.md index b8d233b9624..39a3bca9ddc 100644 --- a/training/admins.md +++ b/training/admins.md @@ -16,19 +16,19 @@ Training notes for new administrators
Basic training notes like these are available for
- citizens,
- staff, and
- administrators.
+ citizens,
+ staff, and
+ administrators.
- Refer to the full documentation + Refer to the full documentation for more detailed information!
Remember that every FixMyStreet installation is different, and can both look and behave differently, depending on how it has been -[customised]({{site.baseurl}}customising/). +[customised]({{ "/customising/" | relative_url }}). @@ -110,7 +110,7 @@ When a user clicks on the map to report a problem... ## There might be lots of categories! -![example showing many categories]({{ site.baseurl }}assets/img/training/fms-many-categories.png) +![example showing many categories]({{ "/assets/img/training/fms-many-categories.png" | relative_url }}) ## Getting help in the admin @@ -126,7 +126,7 @@ to list all the bodies in your system. * **click on each body's name to see and edit the details** -![example showing many categories]({{ site.baseurl }}assets/img/training/admin-bodies.png) +![example showing many categories]({{ "/assets/img/training/admin-bodies.png" | relative_url }}) ## Configuring bodies and contacts @@ -149,7 +149,7 @@ The key things you need to provide: ## Add a body -![example showing many categories]({{ site.baseurl }}assets/img/training/admin-add-a-body.png) +![example showing many categories]({{ "/assets/img/training/admin-add-a-body.png" | relative_url }}) ### You must specify an area @@ -195,7 +195,7 @@ You need to add contacts to each body. ### Adding a contact -![add a contact/category]({{ site.baseurl }}assets/img/training/admin-add-contact.png) +![add a contact/category]({{ "/assets/img/training/admin-add-contact.png" | relative_url }}) ### Confirm your contacts! @@ -292,7 +292,7 @@ Click on **Reports** -- there's a search box at the top. ### Searching reports -![search reports]({{ site.baseurl }}assets/img/training/admin-search-reports.png) +![search reports]({{ "/assets/img/training/admin-search-reports.png" | relative_url }}) ## What the different timestamps mean @@ -398,7 +398,7 @@ of the page. You can click **Edit** next to any of those to edit them. You can see this on the public site: -![sent yet?]({{ site.baseurl }}assets/img/training/mmi-18-show-when-sent.png) +![sent yet?]({{ "/assets/img/training/mmi-18-show-when-sent.png" | relative_url }}) ..but it's also shown as the "Sent" field if you look at the report in the admin. @@ -422,11 +422,11 @@ To access the users in the admin, click **Users**. The page only list _staff users_ by default. To see other users, use the search box to search across email or name. -![show user]({{ site.baseurl }}assets/img/training/admin-users.png) +![show user]({{ "/assets/img/training/admin-users.png" | relative_url }}) ## Editing a user -![edit user]({{ site.baseurl }}assets/img/training/admin-edit-user.png) +![edit user]({{ "/assets/img/training/admin-edit-user.png" | relative_url }}) ### Change a user's name or email address @@ -480,7 +480,7 @@ when you click **Users**. ### Flagged reports and users -![flagged things]({{ site.baseurl }}assets/img/training/admin-flagged-reports-users.png) +![flagged things]({{ "/assets/img/training/admin-flagged-reports-users.png" | relative_url }}) ## Banning a user: the abuse list @@ -494,15 +494,15 @@ to have access to your site).
Basic training notes like these are available for
- citizens,
- staff users, and
- administrators.
+ citizens,
+ staff users, and
+ administrators.
- Refer to the full documentation + Refer to the full documentation for more detailed information!
Remember that every FixMyStreet installation is different, and can both look and behave differently, depending on how it has been -[customised]({{site.baseurl}}customising/). +[customised]({{ "/customising/" | relative_url }}). @@ -65,7 +65,7 @@ click on "Report a problem" anywhere on the site to get started. ## Enter location... -![front page]({{ site.baseurl }}assets/img/training/mmi-01-front-page.png) +![front page]({{ "/assets/img/training/mmi-01-front-page.png" | relative_url }}) ## Start with a general location @@ -80,7 +80,7 @@ click on "Report a problem" anywhere on the site to get started. ## Click on the map... -![click on map]({{ site.baseurl }}assets/img/training/mmi-02-click-on-map.png) +![click on map]({{ "/assets/img/training/mmi-02-click-on-map.png" | relative_url }}) ## Click the map (a pin appears!) @@ -93,7 +93,7 @@ click on "Report a problem" anywhere on the site to get started. ## Enter details... -![enter details]({{ site.baseurl }}assets/img/training/mmi-03-enter-details.png) +![enter details]({{ "/assets/img/training/mmi-03-enter-details.png" | relative_url }}) ## Enter details @@ -114,7 +114,7 @@ click on "Report a problem" anywhere on the site to get started. ## Enter your _own_ details -![enter user details]({{ site.baseurl }}assets/img/training/mmi-04-user-details.png) +![enter user details]({{ "/assets/img/training/mmi-04-user-details.png" | relative_url }}) ## Provide your email address @@ -176,7 +176,7 @@ the same for you, either way. You can see this on the public site: -![sent yet?]({{ site.baseurl }}assets/img/training/mmi-18-show-when-sent.png) +![sent yet?]({{ "/assets/img/training/mmi-18-show-when-sent.png" | relative_url }}) * **the report has not been sent yet** if there's no "Sent to..." sentence @@ -186,7 +186,7 @@ You can see this on the public site: ## Add an update... -![add an update]({{ site.baseurl }}assets/img/training/mmi-05-update.png) +![add an update]({{ "/assets/img/training/mmi-05-update.png" | relative_url }}) ## Add an update to a report @@ -213,7 +213,7 @@ The administrators will be alerted and can hide the report. ## The "report abuse" link -![report abuse]({{ site.baseurl }}assets/img/training/mmi-06-report-abuse.png) +![report abuse]({{ "/assets/img/training/mmi-06-report-abuse.png" | relative_url }}) ## Find problems nearby @@ -227,7 +227,7 @@ If you're looking at a problem report... ## Ask to be notified... -![the get-updates link]({{ site.baseurl }}assets/img/training/mmi-07-get-updates-link.png) +![the get-updates link]({{ "/assets/img/training/mmi-07-get-updates-link.png" | relative_url }}) ## Get email updates @@ -246,7 +246,7 @@ for programmers/other apps. ## Getting updates... -![get updates]({{ site.baseurl }}assets/img/training/mmi-08-get-updates.png) +![get updates]({{ "/assets/img/training/mmi-08-get-updates.png" | relative_url }}) ## Use your account @@ -266,11 +266,11 @@ When you are logged in: ## Signing in... -![sign in screen]({{ site.baseurl }}assets/img/training/mmi-09-login.png) +![sign in screen]({{ "/assets/img/training/mmi-09-login.png" | relative_url }}) ## Your reports -![your reports]({{ site.baseurl }}assets/img/training/mmi-12-your-reports.png) +![your reports]({{ "/assets/img/training/mmi-12-your-reports.png" | relative_url }}) ## Share what you've done! @@ -289,7 +289,7 @@ When you are logged in:- Refer to the full documentation + Refer to the full documentation for more detailed information!
Remember that every FixMyStreet installation is different, and can both look and behave differently, depending on how it has been -[customised]({{site.baseurl}}customising/). +[customised]({{ "/customising/" | relative_url }}). diff --git a/training/staff.md b/training/staff.md index 65d771edf60..0216bd62fbf 100644 --- a/training/staff.md +++ b/training/staff.md @@ -16,19 +16,19 @@ Training notes for new staff users
Basic training notes like these are available for
- citizens,
- staff, and
- administrators.
+ citizens,
+ staff, and
+ administrators.
- Refer to the full documentation + Refer to the full documentation for more detailed information!
Remember that every FixMyStreet installation is different, and can both look and behave differently, depending on how it has been -[customised]({{site.baseurl}}customising/). +[customised]({{ "/customising/" | relative_url }}). @@ -108,7 +108,7 @@ need an administrator to convert your account to a *staff account*. ## Signing up -![sign in screen]({{ site.baseurl }}assets/img/training/mmi-09-login.png) +![sign in screen]({{ "/assets/img/training/mmi-09-login.png" | relative_url }}) ## How to log in @@ -150,7 +150,7 @@ in! ### Add an update... -![add an update]({{ site.baseurl }}assets/img/training/mmi-05-update.png) +![add an update]({{ "/assets/img/training/mmi-05-update.png" | relative_url }}) ## Change a report's state @@ -173,13 +173,13 @@ When you're logged in with a staff account, you can ### More states available to a staff user -![staff states]({{ site.baseurl }}assets/img/training/mmi-15-staff-states.png) +![staff states]({{ "/assets/img/training/mmi-15-staff-states.png" | relative_url }}) ## This is what a fixed problem looks like The problem report has a green tag marked "fixed"! -![it is fixed]({{ site.baseurl }}assets/img/training/mmi-16-woo-it-is-fixed.png) +![it is fixed]({{ "/assets/img/training/mmi-16-woo-it-is-fixed.png" | relative_url }}) ## Hiding reports @@ -195,7 +195,7 @@ can report a problem report if it contains offensive or inappropriate material. ## The "remove from site" link -![remove from site]({{ site.baseurl }}assets/img/training/mmi-13-staff-remove-from-site.png) +![remove from site]({{ "/assets/img/training/mmi-13-staff-remove-from-site.png" | relative_url }}) ## View all reports for your body @@ -232,7 +232,7 @@ People are happy to know you're reporting problems when you find them. * be extra careful: **do not to leave a staff account logged in!** -![sign out]({{ site.baseurl }}assets/img/training/mmi-17-logout.png) +![sign out]({{ "/assets/img/training/mmi-17-logout.png" | relative_url }})