Rental Templates

Each page within the rental app has its own template to display that page's content.

Where to save template files

Template files will go in a folder that has the same name as the app instance key. For example, if the rental app instance key is "rental" then you would put all of your template files within the rental folder inside the templates folder.

If your theme was called "Custom" then this would be an example folder structure:

  • themes
    • custom
      • theme.json
      • templates
        • home.twig
        • one-column.twig
        • two-column.twig
        • rental
          • account.twig
          • account-edit.twig
          • account-login.twig
          • account-password-reset.twig
          • account-register.twig
          • available-properties.twig
          • categories.twig
          • category.twig
          • home.twig
          • property.twig
          • properties.twig
          • property-unit.twig
          • search.twig
          • search-results.twig

Rental app pages and their templates

Below is the list of rental app pages and the name of the template file that you should create.

App home

The app home page often shows the properties and/or categories.

Template name: home.twig

Available properties

This page shows the list of properties that have units that are available for rent.

Template name: avaiable-properties.twig

Categories list

This page shows the list of categories.

Template name: categories.twig

Category detail

This page shows the detail information for an individual category. The properties assigned to the category are often shown.

Template name: category.twig

Property detail

This page shows the full details for an individual property.

Template name: property.twig

Property list

This page shows a paginated list of properties.

Template name: properties.twig

Property Unit

This page shows the detail information for the property unit.

Template name: property-unit.twig


The search page can be used to show the form to search for properties.

Template name: search.twig

Search results

The search results page can show the results of an app search. It can show a paginated list of matching properties or property units.

Template name: search-results.twig

Account pages

Public users can log into the website to manage their rental accounts. Below is the list of account specific rental app pages.

Log in

This is where they will log into their account. 

Template: account-login.twig

Account details

This page is the landing page for the account. It's where they go when they log in if they weren't coming from a password protected page or another page that requires a login. If they were coming from a password protected page or another page that requires a login, then they would be redirected back to that page.

Template: account.twig

Edit account

The account edit page shows a form that allows an account holder to update their profile and login information.

Template: account-edit.twig

Password reset

This page allows the account holder to request a password reset if they are having trouble logging in.

Template: account-password-reset.twig


Shows a form to allow new account holders to register themselves. 

Template: account-register.twig