定制 se7enxweb/ezwt-ls-extension 二次开发

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

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

se7enxweb/ezwt-ls-extension

最新稳定版本:v6.0.2

Composer 安装命令:

composer require se7enxweb/ezwt-ls-extension

包简介

eZ Publish Legacy website toolbar extension. Great for editing small to medium sized website content by untrained end users.

README 文档

README

Installation
------------
Copy the ezwt extension to your existing eZ Publish installation, then enable it in the Administration Interface (in the Extensions menu under the Setup tab).

Next, insert the following lines into your pagelayout.tpl file:

<style type="text/css">
@import url({"stylesheets/websitetoolbar.css"|ezdesign});
</style>

{def $user_hash = concat( $current_user.role_id_list|implode( '_' ), '_', $current_user.limited_assignment_value_list|implode( '_' ) )}
 
{cache-block keys=array( $uri_string, $user_hash )}

    {include uri='design:parts/website_toolbar.tpl' current_node_id=$module_result.node_id}

{/cache-block}

Wrapping cache blocks around eZ Website Toolbar in pagelayout.tpl template prevent additional SQL calls to database server.

In content/edit.tpl or its override file, include:
{include uri='design:parts/website_toolbar_edit.tpl'}

In content/view/versionview.tpl or its override file, include:
{include uri='design:parts/website_toolbar_versionview.tpl'}

Finally, clear all the caches (under the Cache window on the right of the Administration Interface) and you should now be able to use the Website Toolbar in your existing eZ Publish project. Of course, you will need to configure it a bit more (see extension/ezwt/settings/websitetoolbar.ini.append.php).

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 3
  • 开发语言: Smarty

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-12-23