45 lines
1.8 KiB
Markdown
45 lines
1.8 KiB
Markdown
# THEME - PNO 2022 - VSMOV CMS
|
|
|
|
## Demo
|
|
### Trang Chủ
|
|

|
|
|
|
### Trang Danh Sách Phim
|
|

|
|
|
|
### Trang Thông Tin Phim
|
|

|
|
|
|
### Trang Xem Phim
|
|

|
|
|
|
## Requirements
|
|
https://github.com/vsphim/vsmov-core
|
|
|
|
## Install
|
|
1. Tại thư mục của Project: `composer require vsmov/theme-pno`
|
|
2. Kích hoạt giao diện trong Admin Panel
|
|
|
|
## Update
|
|
1. Tại thư mục của Project: `composer update vsmov/theme-pno`
|
|
2. Re-Activate giao diện trong Admin Panel
|
|
|
|
## Note
|
|
- Một vài lưu ý quan trọng của các nút chức năng:
|
|
+ `Activate` và `Re-Activate` sẽ publish toàn bộ file js,css trong themes ra ngoài public của laravel.
|
|
+ `Reset` reset lại toàn bộ cấu hình của themes
|
|
|
|
## Document
|
|
### List
|
|
- Trang chủ: `Label|relation|find_by_field|value|sort_by_field|sort_algo|limit|show_more_url`
|
|
+ Ví dụ theo định dạng: `Phim lẻ mới||type|single|updated_at|desc|12|/danh-sach/phim-le`
|
|
+ Ví dụ theo định dạng: `Phim bộ mới||type|series|updated_at|desc|12|/danh-sach/phim-bo`
|
|
+ Ví dụ theo thể loại: `Phim hành động|categories|slug|hanh-dong|updated_at|desc|12|/the-loai/hanh-dong`
|
|
+ Ví dụ theo quốc gia: `Phim hàn quốc|regions|slug|han-quoc|updated_at|desc|12|/quoc-gia/han-quoc`
|
|
+ Ví dụ với các field khác: `Phim thịnh hành||is_copyright|0|view_week|desc|12|`
|
|
|
|
|
|
### Custom View Blade
|
|
- File blade gốc trong Package: `/vendor/vsmov/theme-pno/resources/views/themepno`
|
|
- Copy file cần custom đến: `/resources/views/vendor/themes/themepno`
|