Yii 2 Agency Theme base on Agency - One Page Bootstrap Theme
Apr 15, 2018 Yii2 Flat Theme. Flat Theme for Yii2 projects. This package provides pluggable Flat theme for Yii2 projects. This package uses hiqdev/yii2-thememanager theming library. The preferred way to install this yii2-extension is through composer. Yii2 Theme Factory. V 3.0.2014.0121.2014. All Themes: 78 Themes Viewed: 264,152 Themes Downloaded: 65,728.
This package contains an Asset Bundle for Yii 2.0 Framework which registers the CSS files for the Agency - One Page Bootstrap Theme
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your
composer.json
file.Usage
Once the extension is installed, you can have a preview by reconfiguring the path mappings of the view component:
Customization
- create folder /themes/agency you application
- copy file from
vendor/dixonsatit/yii2-agency-theme/views
to /themes/agency/ - edit config/main.php to:
เป็น theme ที่สร้างมาจาก Agency - One Page Bootstrap Theme โดยใช้ Asset Bundle for Yii 2.0 Framework
การใช้งาน
หลังจากติดตั้งเสร็จ ให้ทำการตั้งค่าที่ config/main.php
ในการใช้งานจริงเราไม่ควรแก้ไขไฟล์ที่
vendor/dixonsatit/yii2-agency-theme/views
เราควร copy ไฟล์ view มาไว้ที่ application ของเรา- สร้างโฟลเดอร์ /themes/agency ที่ application ของคุณ
- copy ไฟล์ทั้งหมดที่อยู่ใน view จาก
vendor/dixonsatit/yii2-agency-theme/views
ไปไว้ที่/themes/agency
ใน application ของคุณ - ตั้งค่า view ใหม่ เป็น
จากนั้นคุณสามารถปรับเปลี่ยน view ต่างๆ ได้ตามต้องการ ^^