hojalatheef/sitepackageone 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

hojalatheef/sitepackageone

Composer 安装命令:

composer require hojalatheef/sitepackageone

包简介

Site package for sitepackageone distribution

README 文档

README

Packagist Latest Stable Version Total Downloads Monthly Downloads TYPO3 13.2

Build Status

SitePackageOne is a TYPO3 extension designed to provide a comprehensive one-page website template. It includes pre-configured templates, TypoScript setup, and custom content elements tailored for a modern, responsive one-page site.

Requirements

  • TYPO3 v13
  • PHP 8.2 or higher

Installation

composer req hojalatheef/sitepackageone

2. Include TypoScript Template

  1. Go to Template Module:

    • Navigate to "WEB" > "Template".
  2. Select Root Page:

    • Select your root page.
  3. Edit Template Record:

    • Click on "Info/Modify" and then "Edit the whole template record".
  4. Include Static TypoScript:

    • In the "Includes" tab, add sitepackageone to the "Include static (from extensions)" field.

3. Set Up Root Page

Ensure you have a root page created in the "WEB" > "Page" module.

  • Set the root page as the site root by right-clicking on the page and selecting "Edit".
  • In the "Behavior" tab, check the "Use as Root Page" option.

4. Customize Your One-Page Template

Create Content Elements

  • Go to "WEB" > "Page".
  • Create and configure content elements on your root page using the provided templates.

Edit HTML Templates

  • The HTML templates are located in EXT:sitepackageone/Resources/Private/Templates.
  • Customize these templates to fit your design needs.

5. Add Custom Styles and Scripts

CSS and JS Files

  • Add your custom CSS files to EXT:sitepackageone/Resources/Public/CSS.
  • Add your custom JavaScript files to EXT:sitepackageone/Resources/Public/JavaScript.

Include Custom Styles and Scripts in TypoScript

Open the TypoScript setup file located at EXT:sitepackageone/Configuration/TypoScript/setup.typoscript and include your custom styles and scripts as needed:

page.includeCSS {
    file1 = EXT:sitepackageone/Resources/Public/CSS/styles.css
}

page.includeJSFooter {
    file1 = EXT:sitepackageone/Resources/Public/JavaScript/scripts.js
}

Development

Local Development with DDEV

  1. Start DDEV Environment: Ensure you have DDEV installed on your system.

    ddev start
  2. Access TYPO3 Backend: Navigate to http://sitepackageone.ddev.site/typo3 and log in with your admin credentials.

License

SitePackageOne is released under the MIT License. See the LICENSE file for more details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-08-06