doc-burger

How to manage folders in Peaka

Learn how you can create, edit, and delete folders for better organization

How to Create, Edit, and Delete a Folder

Folders in Peaka serve as a valuable tool for organizing your page structure and managing URL paths. This article will guide you through the process of creating, editing, and deleting folders to help you keep your project well-organized and easily accessible.

What are Folders?

Folders in Peaka enable you to structure your pages logically and influence the URL structure. For example, if you have a page named 'Blogs' located within a folder named 'My-New-Blog,' you can access it using the following URL format:

    pageUrl + /blogs/my-new-blog

Creating a Folder

  1. Access the "Pages Panel": Open the Pages Panel from the side panel of your workspace.
showing context menu of page add icon
  1. Add a new folder: Click the "+" icon located at the top of the panel, then select the "New Folder" option. This action will open a modal, as shown below.

    • Name: Specify the name of your folder. This name does not affect the URL structure.

    • Slug: The slug determines the URL path for your folder and the pages it contains.

craete new folder modal
  1. Create the folder: After providing the necessary details, click on the "Create Folder" button to create the folder.
showing new created folder

Editing a Folder

  1. Access folder options: Click on the three dots button (ellipsis) next to the folder you want to edit and select "Edit Folder."
context menu of created folder
  1. Edit folder details: Enter the desired values for the folder's name and slug, then click on the "Edit Folder" button to save your changes.
edit modal of created folder

Deleting a Folder

  1. Access folder options: Click on the three dots button (ellipsis) next to the folder you wish to delete and select "Delete Folder."
context menu of new created folder
  1. Confirm deletion: A confirmation modal will appear. To confirm the deletion of the folder, click on the "Yes" button.
delete modal of created folder

That's it! You've successfully created, edited, or deleted a folder in Peaka. Utilize this feature to maintain a well-structured project and ensure easy navigation within your application or dashboard.