You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/PxWeb2/documentation/customization.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ You can:
15
15
- Limit table sizes.
16
16
- Control how and where languages appear in URLs.
17
17
- Hide variables from the variable filter.
18
+
- Customize Definitions panel content. WIP
18
19
- Customize start page text and footer links (examples included below).
19
20
- Define characters used for missing values.
20
21
@@ -463,6 +464,15 @@ Edit these CSS variables in `theme/variables.css`:
463
464
Do not alter `--px-border-radius-none` or `--px-border-radius-full` unless you
464
465
know the side effects (they are used for logical extremes).
465
466
467
+
### Customize Definitions panel content WIP
468
+
469
+
The Definitions panel in the right sidebar on the table page, can be
470
+
customized by changing translation strings in the "presentation_page.main_content.about_table.definitions" section of the relevant `locales/<lang>/translation.json` file.
471
+
472
+
If the strings inside the "about_statistics" and "metadata" sections are empty, the Definitions panel will only show the primary links from the API. The keys inside the "about_statistics" will add a header and text description to the primary links section.
473
+
474
+
If the API also returns variable definitions, the keys inside the "metadata" section will add a header and text description to the variable definitions section.
475
+
466
476
### Change the text and related links on the startpage, table page and in the footer
467
477
468
478
The `content.json` file defines customizable text and links that appear in
0 commit comments