ophimcms / theme-pcc
Ophim 的 pcc 主题
1.2.2
2023-06-12 05:49 UTC
Requires
- ckfinder/ckfinder-laravel-package: v3.5.2.1
- hacoidev/ophim-core: ^1.1.0
- laravel/framework: ^6|^7|^8
README
演示
主页
电影列表页
电影信息页
电影观看页
需求
https://github.com/hacoidev/ophim-core
安装
- 在项目目录下:
composer require ophimcms/theme-pcc
- 在管理面板中激活界面
更新
- 在项目目录下:
composer update ophimcms/theme-pcc
- 在管理面板中重新激活界面
注意
- 一些重要功能的按钮注意事项
激活
和重新激活
将发布主题中的所有 js,css 文件到 laravel 的 public 目录。重置
重置主题的全部配置
文档
列表
-
主页:
display_label|relation|find_by_field|value|limit|show_more_url
- 格式示例:
新电影系列||type|series|12|/danh-sach/phim-bo
- 格式示例:
新电影||type|single|12|/danh-sach/phim-bo
- 类别示例:
动作电影|categories|slug|hanh-dong|12|/the-loai/hanh-dong
- 国家示例:
韩国电影|regions|slug|han-quoc|12|/quoc-gia/han-quoc
- 其他字段示例:
影院上映||is_shown_in_theater|1|12|
- 格式示例:
-
热门列表:
Label|relation|find_by_field|value|sort_by_field|sort_algo|limit
即将上映电影||status|trailer|publish_year|desc|9
热门电影系列||type|series|view_total|desc|9
热门电影||type|single|view_total|desc|9
自定义视图 Blade
- 包中的原始 blade 文件:
/vendor/ophimcms/theme-pcc/resources/views/themepcc
- 将需要自定义的文件复制到:
/resources/views/vendor/themes/themepcc