承接 drajathasan/slims-opac-template-skelton 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Create your template directory inside /template/. E.g: my_template.
  2. Create new file named with index_template.inc.php
  3. 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);
  1. Next you need composer to install this packages.
composer require drajathasan/slims-opac-template-skelton
  1. Login into admin area, and change template in theme menu.
  2. Choose "base" then open OPAC again.

统计信息

  • 总下载量: 22
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2023-09-24