Seme Framework support theme layout for providing reusable view component. The layout contains about HTML general form by loading its required components, such as css loader method, javascript loader, view component, and plain html content.

Layout Requirements

Seme Framework only loaded layout with this condition.

  1. The layout file location is under page directory inside a theme directory.
  2. The layout filename only contain alpha numeric with lowercase, only undescore, then with .php suffix.
  3. Layout file only loaded by loadLayout method in Controller.