premium-contao-themes/pct_customelements_plugin_cc_frontedit
Composer 安装命令:
composer require premium-contao-themes/pct_customelements_plugin_cc_frontedit
包简介
Frontend editing tool for Premium Contao Themes CustomCatalog Module: https://cc.feedit.premium-contao-themes.com
关键字:
README 文档
README
About
Brings the full front end editing experience to CustomCatalog.
Features
- All attributes supported including image, files, tags and even gallery selections
- Slick and easy integratable in any running CustomCatalog. Using the ->widget() method for fields/attributes
- Integrates directly to list and reader module and templates
- All familiar backend features available such as: copy, delete, toggle visibility (green eye), cut and paste etc.
- Multiple editing "Mehrere bearbeiten", (multiple delete, copy and paste, overwriting, editing)
- Child-table support
- Access levels for member groups and single members
- Deep level rights system to restrict whole tables, entries, or single attributes
- No backend login necessary. Even use popup windows or TinyMCEs directly in the front end
- Full contao versioning support for entries
Demo
cc.feedit.premium-contao-themes.com
Installation
Copy the module folder to /system/modules and update the database. You might need to clear the internal cache as well. The plugin brings two new templates:
- mod_customcatalogedit.html5
- customcatalog_default_edit.html5
Installation Contao 4.4.x
Copy the module folder to /system/modules and update the database. Manually clear the internal cache (var/cache). Once the module is installed it will create a config.yml (or append an existing one) in the /app/config folder on first load.
-
If the file has not been created automatically copy the config.yml file coming with this extension to the /app/config folder (or append your config.yml)
-
If you already use a config.yml, append these configurations:
# contao.picker.builder::customcatalog_frontedit
services:
contao.picker.builder:
class: PCT\Contao\Picker\PickerBuilder
arguments:
- '@knp_menu.factory'
- '@router'
- '@request_stack'
# contao.picker.page_provider::customcatalog_frontedit
services:
contao.picker.page_provider:
class: PCT\Contao\Picker\PagePickerProvider
# contao.picker.file_provider::customcatalog_frontedit
services:
contao.picker.file_provider:
class: PCT\Contao\Picker\FilePickerProvider
Deinstallation
- Delete the module folder and clear the cache.
- Contao 4.4.x: Delete the config.yml file or remove the configuration blocks from your custom config.yml
Activate CustomElement plugin
Navigate to "My Content elements" / "Meine Inhaltselemente" > Plugin Management and enable the new plugin.
Usage
The plugin brings two new methods to your CustomCatalog template.
$entry->editable();$entry->field('myAttribute')->widget();$entry->field('myFilesAttribute')->uploadWidget( $arrSettings );
The editable() methode callable for a CustomCatalog RowTemplate object (each entry is one of those) checks if the entry can be edited by the current user The widget() method callable for a CustomCatalog TemplateAttribute (any attribute in a cc template file is one of those) generates the attributes formular field.
See the customcatalog_default_edit.html5 Template
Requirements
Requires the pct_customelements alias CustomElements module in version 1.6.0 (or higher) and CustomCatalog in version 1.4.0 (or higher) Best experience with the lastest version!
Optional settings for the upload widget
$arrSettings['uploadFolder']
(string) set the path a folder inside contaos files folder. The files folder itself is restricted (default: $GLOBALS['PCT_CUSTOMCATALOG_FRONTEDIT']['defaultUploadFolder'] = files/uploads defined in config.php)
$arrSettings['useHomeDir']
(boolean) upload to the front end member folder (overwrites the upload folder path)
$arrSettings['doNotOverwrite']
(boolean) overwrite files or not (default: true)
$arrSettings['extensions']
(array or string) an array or a commata list of file extensions allowed to be uploaded (default: Contaos system settings extension list)
$arrSettings['createUploadFolder']
(boolean) if set to true the upload folder will be created if it does not exist yet (default: false)
premium-contao-themes/pct_customelements_plugin_cc_frontedit 适用场景与选型建议
premium-contao-themes/pct_customelements_plugin_cc_frontedit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 284 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 10 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「catalog」 「themes」 「contao」 「premiumcontaothemes」 「premium-contao-themes」 「customcatalog」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 premium-contao-themes/pct_customelements_plugin_cc_frontedit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 premium-contao-themes/pct_customelements_plugin_cc_frontedit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 premium-contao-themes/pct_customelements_plugin_cc_frontedit 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Laravel Themes
Contao Open Source CMS
WordPress mu-plugin to register the theme directory for the default WordPress themes.
This is twig version of Flow Theme for OXID eShop.
Test theme for Altis DXP, based on Automattic/_s starter theme.
This is a Smarty version of Admin Theme for OXID eShop.
统计信息
- 总下载量: 284
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2018-10-15