drajathasan/slims-opac-template-skelton
最新稳定版本:v1.0.1
Composer 安装命令:
composer require drajathasan/slims-opac-template-skelton
包简介
A starter template without any styling components
README 文档
README
If you want to create your own SLiMS Template. Please follow this step:
- Create your template directory inside /template/. E.g: my_template.
- Create new file named with index_template.inc.php
- Put this code into that file :
<?php use SLiMS\Template\Skelton\Core as Template; require __DIR__ . '/vendor/autoload.php'; // Initialization template instance $template = new Template; // set basic properties $template->setProperty('notes', $notes??null); $template->setProperty('subject', $subject??null); $template->setProperty('metadata', $metadata??null); $template->setProperty('maincontent', $main_content??''); $template->setProperty('image_src', $image_src??''); // Rendering opac to template $template->render($opac??$this);
- Next you need composer to install this packages.
composer require drajathasan/slims-opac-template-skelton
- Login into admin area, and change template in theme menu.
- Choose "base" then open OPAC again.
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2023-09-24