Skip to content

Latest commit

 

History

History
64 lines (33 loc) · 1.45 KB

frontend.md

File metadata and controls

64 lines (33 loc) · 1.45 KB

Frontend

Let's get your hands on your newly created application.

Frontend assets

The asset package in the application is prepared for customization of Bootstap 3 with LESS files, but you can use any CSS-Framework you like in the application frontend.

The phd Docker images, come with a build in lessc binary to create the CSS files by the asset command or on-the-fly.

See also Yii 2.0 Assets.

Views & controllers

You application views are located in /views/site. They are basically old-school PHP files which get their data prepared in controller actions.

See also Yii 2.0 Views.

Layout & navigation

View files can be found in src/views/layouts.

Debugging application

  • /debug

Events

Context menu items

Module: Prototype

This module has very limited features and has been mainly developed to create tiny static sites. It basically allows you to add HTML and LESS files to your site.

Create asset bundle for LESS from the database

See Online help

  • go to /prototype/less
  • create key main
  • add example LESS content
  • save

Create widget for view contents

See Online help