adds custom categories guide
This commit is contained in:
@@ -48,6 +48,10 @@ export default defineConfig({
|
||||
}, {
|
||||
label: 'Lists',
|
||||
link: '/guides/lists/'
|
||||
},
|
||||
{
|
||||
label: 'Custom categories',
|
||||
link: '/guides/custom-categories/'
|
||||
}, {
|
||||
label: 'Import/Export',
|
||||
link: '/guides/import-export/'
|
||||
|
||||
BIN
docs/src/assets/guides/pocketbase_categories.png
Normal file
BIN
docs/src/assets/guides/pocketbase_categories.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 460 KiB |
16
docs/src/content/docs/guides/custom-categories.md
Normal file
16
docs/src/content/docs/guides/custom-categories.md
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
title: Custom categories
|
||||
description: How to create custom trail categories
|
||||
---
|
||||
|
||||
wanderer uses categories to classify what kind of activity a trail belongs to. Out of the box you get: Biking, Canoeing, Climbing, Hiking, Skiing and Walking. However, you can adapt these categories to your needs or add completely new ones.
|
||||
|
||||
## Backend access
|
||||
|
||||
First, you need access to the PocketBase backend. If you are using docker make sure to forward the internal port 8090 to a public port. With the default configuration, the PocketBase admin panel is available at `http://localhost:8090/_/`. If this is your first time visiting the panel you will need to create an admin account. Afterwards, you will have access to all tables in the backend and can modify the underlying data directly.
|
||||
|
||||
## Modifying categories
|
||||
|
||||

|
||||
|
||||
In the PocketBase admin panel, click on the `categories` table in the list on the left side. All existing categories will be listed here. To edit one simply click on the row, edit the data you want to change, and click "Save". To delete a category check the box at the beginning of the row and click "Delete selected". To create a new category click the "New record" button in the top right corner, give your new category a name and a background image, and click "Save".
|
||||
Reference in New Issue
Block a user