定制 juzaweb/image-slider 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

juzaweb/image-slider

最新稳定版本:2.0

Composer 安装命令:

composer require juzaweb/image-slider

包简介

Create Image slider for Website

README 文档

README

Create Image slider for Website. This module provides a simple way to manage and display image sliders on your Juzaweb CMS website.

Installation

You can install the module via composer:

composer require juzaweb/image-slider

Usage in Admin Dashboard

  • Login to Admin dashboard.

  • Goto Appearance » Slider.

  • Click Add new to add new slider or Click name slider to edit slider.

  • Click Add new banner to add new image to slider.
    Slider setting

    • Title
    • Description
    • Url (Url open when click to slider)
    • Open new tab (Open new tab when click to link)

Usage in Frontend

You can retrieve the slider and its items using the ImageSlider model.

use Juzaweb\Modules\ImageSlider\Models\ImageSlider;

// Retrieve the slider by its name and load the associated items
$slider = ImageSlider::with('items')->where('name', 'slider-name')->first();

if ($slider) {
    foreach ($slider->items as $item) {
        // Access item properties
        // echo $item->title;
        // echo $item->description;
        // echo $item->image;
    }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固