Pages & navigation
Table of contents
In Doypp, screens are divided into two fundamental page types:
- Main page
- Primary screens accessible from the app drawer navigation menu
- Pop-up page
- Contextual modal screens opened by tapping a list item, button, or link
Main page
Main pages represent the top-level destinations of your application. Users access them via the app drawer (side menu), opened by tapping the menu button in the top-left corner of the screen.
You can configure distinct drawer navigation sets for different user types—ensuring that guests, registered users, and administrators see only the pages relevant to their permissions.
Step-by-Step: Adding and Organizing Main Pages
- Create the page: Add a new page in the page editor and assign it a name and layout.
- Add to app drawer: In drawer settings, add your newly created page to the navigation list.
- Reorder items: Drag and drop navigation links to customize the menu ordering for each user role.
Pop-up page
A Pop-up page is a modal screen that opens over the active page. When a user finishes reviewing or editing information, tapping the “Back” or “Close” button returns them to the previous view without resetting their list position or scroll state.
Pop-up pages can be triggered by two kinds of page elements:
- List Views: Tapping a card in a list view opens the linked record’s detail popup.
- Dynamic View Elements: Tapping a specific field (such as an author name or avatar) opens that related entity’s detail popup.
Example 1: Opening Post Details from a List
Tapping any item in a post list opens the complete post detail view:
Example 2: Opening User Profiles from an Author Field
Tapping the author name on a post card opens the user’s profile popup:
Model Compatibility & Link Rules
When connecting elements to pop-up pages, keep the following principles in mind:
- Data Model Compatibility: A pop-up page can only be linked to elements that share or supply its underlying data model. For instance, a list of posts can open a
Post Detailpage, but cannot be linked to an unrelatedCompany Profilepage unless there is a defined relationship. - Multiple Entry Points: A single pop-up page can be linked from multiple locations throughout your app (e.g., accessing a
User Profilefrom both a forum post and a direct message thread).
[!NOTE] Avoid Orphaned Pop-up Pages: Pop-up pages do not appear in the drawer menu. If a pop-up page is not linked to at least one list item, button, or field element, it will be unreachable by users in the published app.
Related Topics
- Configure record collections and master-detail patterns in List Views.
- Add fields, buttons, and child views to pages in Page Elements.
- Adapt layouts for phones versus larger screens in Tablet & PC Optimization.