buepro/typo3-user-pizpalue
Composer 安装命令:
composer require buepro/typo3-user-pizpalue
包简介
TYPO3 site package being used with template pizpalue.
README 文档
README
This extension serves as a site package to customize a TYPO3-website using the template pizpalue in version 17.0.0 and higher.
Installation hints
-
The official installation guide can be found at typo3.org.
-
Install this package with:
composer req buepro/typo3-user-pizpalue -
To add a demo site you might use:
composer req buepro/typo3-pizpalue-distribution -
Copy
htaccesscp .build/vendor/typo3/cms-install/Resources/Private/FolderStructureTemplateFiles/root-htaccess .build/public/.htaccess -
Review
composer.json-
Define packages
Remove the dependency to packages not required by the site.
NOTE: Just use the needed packages. In many projects just
buepro/typo3-pizpalueandbuepro/typo3-container-elementsare required. -
Check PHP configuration
Make sure the PHP version used in the shell and for cron jobs corresponds to the PHP version used for running the website. In case they differ you might need to add a platform configuration to
composer.json. A possible platform configuration could look as following:"config": { "platform": { "php": "8.2.6" } }
-
-
Finalize installation
.build/bin/typo3 cache:warmup
Usage
When starting a new project create a new git-branch and just commit to that branch. The main branch should always be used to start new projects.
To increase quality work progress might be committed and documented. Documentation has its home in the folder
Documentation. A changelog can be created with the following steps:
- In a shell go to the
Builddirectory - Run
npm install(only needed, if not already done) - Run
grunt doc
Customizations
TypoScript (TS)
Customizations typically start by adapting the ts constants and
ts setup. Frequently used configurations are collected in the
folder Configuration/TypoScript/Sample. You might use them to get started by
copying the needed fragments to
Configuration/TypoScript/constants.typoscript or
Configuration/TypoScript/setup.typoscript.
CSS/SCSS
Style declarations are maintained in the folder Resources/Public/Scss. For stylesheets to be
embedded TS needs to be setup. See page.includeCSS for further details.
Icon font
It might become handy to create a customized icon font. Ideally it contains all used icons from the website. To generate an icon font the icons need to be available in svg-format. Unfortunately not all svg-formats lead to the desired result hence some testing might be needed. An icon font might be created by following these steps:
- Copy all svg-icons to the folder
Resources/Public/Icons/Font - In a shell go to the
Builddirectory - Run
npm install(only needed, if not already done) - Run
grunt iconfont
Upon creating the icon font its resources can be found in Resources/Public/Fonts. Next the font needs to be embedded
with the following TS setup:
page {
includeCSSLibs {
pizpalueicon >
upicon = EXT:user_pizpalue/Resources/Public/Fonts/upicon.min.css
}
}
Now you are ready to use the icon font in the markup: <i class="upicon upicon-custom1"></i> would render an icon showing
the graphic defined by custom1.svg.
Layouts/Templates/Partials
They are maintained in Resources/Private. As an example to add a new page template follow these
steps:
- Create the template in the directory
Resources/Private/Templates/Page - Enable the template in the TS constant declaration
page {
fluidtemplate {
templateRootPath = EXT:user_pizpalue/Resources/Private/Templates/Page/
}
}
Development
- Test code:
ddev composer ci - Fix code:
ddev composer fix
Coding guidelines
- Use the coding guidelines defined by TYPO3.
- Use up, Up, up-, upc- as package related prefixes where
upc-is mainly used for complementary css classes used together with other selectors (e.g..up-example .upc-red { ... })
Frequently used
For coding
- TypoScript reference
- Fluid guide
- Fluid view helper reference
- TCA reference
- TSconfig reference
- Core API reference
- Best practice example extension
For documentation
buepro/typo3-user-pizpalue 适用场景与选型建议
buepro/typo3-user-pizpalue 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.27k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2020 年 05 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「theme」 「bootstrap」 「web」 「responsive」 「frontend」 「TYPO3 CMS」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 buepro/typo3-user-pizpalue 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 buepro/typo3-user-pizpalue 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 buepro/typo3-user-pizpalue 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Model of a web-based resource
Retrieve a WebResourceInterface instance over HTTP
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
A Bootstrap 4.x base theme for SilverStripe
Lucency Theme
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
统计信息
- 总下载量: 1.27k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 25
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2020-05-18