Pages

Default Pages

SaaS Frontend themes comes with following default pages-

  • Home
  • Features
  • Pricing
  • About
  • Register
  • Sign in
  • Contact

The template files are located in-  ui/theme/default/frontend

Creating a new page

To create a new page, you will have to create a controller for this page in system/controllers/ directory. And write the codes in controller to display related view file.

Example- Let's assume we will create a page for "How it works"

  1. Create a file-  how-it-works.php in system/controllers/ directory with following codes-
    <?php
    view('frontend/how_it_works',[
        '_active_menu' =--> 'How it works',
        '_navbar_is_white' => false
    ]);
  2. Now create a view file in ui/theme/default/frontend/ folder with name- how_it_works.tpl and put the contents here. You can copy codes from the existing sample pages.
  3. Navigate to your <installation url>/how-it-works And your page contents should be showing.
By continuing to use this site you consent to the use of cookies in accordance with our Cookie policy. close notification