ophimcms/theme-xiao

Ophim's xiao theme

Installs: 212

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 6

Open Issues: 0

Language:JavaScript

1.2.2 2024-04-04 14:17 UTC

This package is auto-updated.

Last update: 2024-05-04 14:29:07 UTC


README

Demo

Trang Chủ

Alt text Alt text

Trang Danh Sách Phim

Alt text Alt text

Trang Thông Tin Phim

Alt text Alt text

Trang Xem Phim

Alt text Alt text

Requirements

https://github.com/hacoidev/ophim-core

Install

  1. Tại thư mục của Project: composer require ophimcms/theme-xiao
  2. Kích hoạt giao diện trong Admin Panel

Update

  1. Tại thư mục của Project: composer update ophimcms/theme-xiao
  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:
    • ActivateRe-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ủ: 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
  • 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

Custom View Blade

  • File blade gốc trong Package: /vendor/ophimcms/theme-xiao/resources/views/themexiao
  • Copy file cần custom đến: /resources/views/vendor/themes/themexiao