Revision #77 has been created by rackycz on Mar 30, 2021, 9:36:48 PM with the memo:
AdminLTE
« previous (#76) next (#78) »
Changes
Title
unchanged
Yii v2 snippet guide III
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
tutorial,yii2,beginer
Content
changed
[...]
- 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.
We only need to create the Asset file to link all SCRIPTs and LINKs:
- Copy file assets/AppAsset into assets/LteAsset and rename the class inside.
- Copy all LINK- and SCRIPT- URLs to LteAsset.[...]