https://github.com/hacoidev/ophim-core
- Tại thư mục của Project:
composer require ophimcms/theme-xiao
- Kích hoạt giao diện trong Admin Panel
- Tại thư mục của Project:
composer update ophimcms/theme-xiao
- Re-Activate giao diện trong Admin Panel
- 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
-
Trang chủ:
display_label|relation|find_by_field|value|limit|show_more_url|show_template (section_thumb_1_col|section_thumb_2_col)
- Ví dụ theo định dạng:
Phim bộ mới||type|series|6|/danh-sach/phim-bo|section_thumb_2_col
- Ví dụ theo định dạng:
Phim lẻ mới||type|single|6|/danh-sach/phim-bo|section_thumb_2_col
- Ví dụ theo thể loại:
Phim hoạt hình mới|categories|slug|hoat-hinh|6|/the-loai/phim-hoat-hinh|section_thumb_2_col
- Ví dụ theo quốc gia:
Phim hàn quốc|regions|slug|han-quoc|16|/quoc-gia/han-quoc|section_thumb_1_col
- Ví dụ với các field khác:
Phim chiếu rạp mới||is_shown_in_theater|1|8|/danh-sach/phim-chieu-rap|section_thumb_1_col
- Ví dụ theo định dạng:
-
Danh sách hot:
Label|relation|find_by_field|value|sort_by_field|sort_algo|limit
Phim sắp chiếu||status|trailer|publish_year|desc|9
Top phim bộ||type|series|view_total|desc|9
Top phim lẻ||type|single|view_total|desc|9
- File blade gốc trong Package:
/vendor/ophimcms/theme-xiao/resources/views/themexiao
- Copy file cần custom đến:
/resources/views/vendor/themes/themexiao