Yii v2 snippet guide III

Comparing #73 with #74

Revision #74 was created by rackycz rackycz on Mar 30, 2021, 9:31:22 PM.

AdminLTE

Content

[...]
**- Manual integration of v2.4 - Asset File creation**
---

- Open [documentation](https://adminlte.io/docs/2.4/installation) and run composer or download all dependencies in ZIP.
- Open [preview page](https://adminlte.io/themes/AdminLTE/index2.html) and copy whole HTML code to your text editor.
- Delete those parts of BODY section which you do not need (at least the content of
<```section class="content">```)
- Also delete all SCRIPT and LINK tags. We will add them using the AssetBundle later.

- Open existing yii-file views/layouts/main.php and copy important PHP calls to the new file. (Asset, beginPage, $content, Breadcrumbs etc)
- Now your layout is complete, you can replace the original layout file.
[...]