purplespider/mypswd-tweaks
Composer 安装命令:
composer require purplespider/mypswd-tweaks
包简介
Custom SilverStripe tweaks to keep things tidy.
关键字:
README 文档
README
Introduction
This module contains many of the custom tweaks that I make to every SilverStripe site I do. A lot is just hiding features that most of my clients don't use to clean up the CMS interface.
While it is possible to disable specific tweaks by removing the individual extension, you probably don't want to use this module as is. Partly because it automatically sets the SilverStripe Help link to my custom help site. However, please do take a look around and steal anything you may find useful!
Maintainer Contact
- James Cocker (ssmodulesgithub@pswd.biz)
Requirements
- Silverstripe 6.0+
- For SilverStripe 5 related tweaks, see the 6.3.0 tag or earlier.
- For SilverStripe 4 related tweaks, see the 5.x branch.
- For SilverStripe 3 related tweaks, see the 1.0 branch.
Active Extensions
- AllowFileUploads: Enabled file uploads (in Files tab) for all CMS users. (sets canCreate etc to true)
- PageHideDependent: Hides the "Dependent" page CMS tab.
- PageHideExtraMetaData: Hides MetaKeywords and ExtraMeta fields.
- PageSettingsHidePermissions: Hides Page permission fields such as CanViewType and CanEditType.
- PageSettingsHideSearch: Hides the ShowInSearch settings field.
- MemberTidy: Hides ofen unused Member fields such as Time & Date format.
- CMSMenuLinks && CustomSiteConfig: Adds admin customisable CMS links to my custom help guide and analytics
- LoginSessionExtension: Required for
Recent Active Usersreport (see below)
Extra Extensions
- CannotCreatePage: Apply this extension to page types that you don't want non-admin users to be able to create.
- BlockPageArchive: Disables ability to Archive or Unpublish a page that extends this. Applied to HomePage by default.
- SinglePageOnly: Can to applied to any page type, so only 1 can be created. Useful for keeping the Add New page type list tidy.
Page Types
- FirstChildRedirect: Automatically redirects to the first child of the page. Useful for top level pages with no content of their own.
Config
- E-mail Error Log Alerts: logging.yml e-mails any error that occurs on a 'live' site.
- CMS Help Link: Sets the CMS help link to my custom built SilverStripe Help site.
- Hide Error Page: Hides Error Page from the Add New page list (uses CannotCreatePage extension)
- Hide Virtual Page: Hides Virtual Page from the Add New page list (uses CannotCreatePage extension)
- Set Admin Email: Set's the Admin Email address to a noreply address for which I control the SPF. Better than no address at all, which can result in forgotten password e-mails flagged as spam.
- Disable TinyMCE Icons: Disables some icons such as underline.
- Enable TinyMCE Styles: Enables the Styles dropdown for custom styles.
- Disable TinyMCE Table Appearance Options: Disables table cell spacing, cell padding, border, and caption fields in table dialogs.
- Disable TinyMCE Table Advanced Tabs: Hides the Advanced tab in Cell and Row properties dialogs, removing border color and background color options.
CMS CSS
- Hides Error Pages: Hides error pages from the site tree.
- Differentiate Hidden Pages: Pages that have "Show in menus?" unchecked, are grey in the site tree.
- Hide Disabled Pages from Add New: Pages that can't be created are now hidden from the Add page list, rather than being greyed out.
- Hide GridField Pagination Details: From above a GridField only, to avoid the gap below the GridField title.
- GridField: Vertical Align Middle: Set cells of GridField to vertical align middle. Looks nicer, especially with centered icons and drag handles.
- Fix SS6 Button Wrapping: Fixes wrapping of "Batch actions" button by changing "Add new page" to "Add page" and reducing margin.
Templates
- ForgotPasswordEmail.ss: Changes the wording and format of the forgotten password e-mail to make it a bit friendlier.
- SiteTreeURLSegmentField.ss: Adds a "Copy URL" button. To help stop users from copying the draft link.
Modules
- wilr/silverstripe-googlesitemaps: Lets CMS users set certain (e.g. hidden) pages to not be indexed.
- jonom/silverstripe-betternavigator: Added frontend flag for Draft/Live and shortcuts.
- axllent/silverstripe-email-obfuscator: Automatically obfucates email addresses added in HTMLText fields/templates.
- kinglozzer/metatitle: Adds editable metatitle field for each page.
- purplespider/silverstripe-assets-cachebusting: Automatically adds cache-busting query strings to asset URLs to fix Cloudflare caching issues.
Tasks
- Generate CMS Thumbnails: A task to run generateThumbnails() on each File object. For use after the MigrateFileTask if using
legacy_filenames - Send Test Email: A task to instantly send a test email to quickly check email deliverability.
Reports
- Recent Active Users: Displays a list of users who have recently logged in. Useful for quickly checking that no CMS users are logged in, before performing maintenance. Modified /silverstripe/silverstripe-securityreport.
Lang
- Renames User Defined Form: To a more user friendly "Form Page".
purplespider/mypswd-tweaks 适用场景与选型建议
purplespider/mypswd-tweaks 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.36k 次下载、GitHub Stars 达 17, 最近一次更新时间为 2013 年 10 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「silverstripe」 「custom」 「tweaks」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 purplespider/mypswd-tweaks 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 purplespider/mypswd-tweaks 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 purplespider/mypswd-tweaks 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Several CMS usability improvements
Inline/tiled images in a Silverstripe GridField table
Analytics chooser extensions for site settings.
Multiauth and custom grants for laravel passport
Some minor silverstripe tweaks that I use repeatedly on projects
统计信息
- 总下载量: 1.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2013-10-02