Pages & navigation

Table of contents

  1. Main page
    1. Step-by-Step: Adding and Organizing Main Pages
  2. Pop-up page
    1. Example 1: Opening Post Details from a List
    2. Example 2: Opening User Profiles from an Author Field
  3. Model Compatibility & Link Rules
    1. Related Topics

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.

Admin drawer navigation
Administrator: elevated admin pages
Standard user drawer navigation
Normal user: standard account menu
Guest drawer navigation
Guest: public-only navigation

Step-by-Step: Adding and Organizing Main Pages

  1. Create the page: Add a new page in the page editor and assign it a name and layout.
  2. Add to app drawer: In drawer settings, add your newly created page to the navigation list.
  3. Reorder items: Drag and drop navigation links to customize the menu ordering for each user role.
Create a new main page
Step 1: Create a new main page
Configure page layout
Step 2: Configure layout and properties
Configure drawer navigation menu
Step 3: Add to drawer and reorder navigation items

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:

Tap on a list view item
Pop-up: 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:

Tap on author name
Pop-up: User detail view

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 Detail page, but cannot be linked to an unrelated Company Profile page 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 Profile from 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.