Geonode Popup¶
Geonode Popup is a feature that displays content from a Wagtail Rich Text ** field on a Geonode page. It can appear on maps, datasets, geostories, and documents**.
Here’s an example:
How to Set It Up¶
To use this feature, you need to create a Geonode Page in the Wagtail admin.
1. Go to Wagtail Admin¶
2. Open the Pages List¶
Make sure you're on the root page. Click Pages in the sidebar. A slide-out menu will appear — click Pages at the top.
3. Click “Add Child Page”¶
4. Select “Geonode Page”¶
Choose the Geonode Page type — this is required for the popup to work.
⚠️ Make sure not to select the wrong type!
5. Fill Out the Form¶
Complete the fields in the form:
- Title – Any title you like.
- Intro – Optional intro text (not used in the popup).
- Body – This is the Rich Text field that will appear in the popup.
- Maps – Select the maps where this popup should appear.
- Datasets – Select the datasets that will use this popup.
- Documents – Select the documents linked to this popup.
- Geostories – Select the geostories where the popup will be shown.
6. Publish the Page¶
Click the “arrow up” icon, then click “Publish”.
✅ The Popup Is Ready!¶
You can now view the popup on the selected map, dataset, geostory, or document.
Here’s your updated section for Multiple Content and Ordering, with improved grammar, structure, and clarity:
Multiple Content¶
You can assign multiple pages to a single map (or dataset, document, or geostory). All associated pages will appear in order in the popup, separated by newlines.
To do this, simply follow the same setup steps as before. Even if a resource (map, dataset, etc.) is already assigned to another page, you can still assign it to additional pages.
Ordering Multiple Contents¶
If a resource (map, dataset, document, or geostory) has multiple popups, you can customize their display order.
Here’s how:
1. Go to Wagtail Admin¶
2. Open the Pages List¶
Make sure you're in the root page. Click Pages in the sidebar. A slide-out menu will appear — click Pages at the top.
3. Reorder Pages¶
To change the order:
- Click the three dots at the top-right of the page list.
- Select “Sort menu order”.
You’ll see drag handles (dots) appear next to each page.
Use drag-and-drop to reorder the pages.
💡 The order saves automatically after you move an item.
4. Confirm the Order¶
Visit the map (or dataset, document, or geostory) and confirm the popups appear in the correct order.