定制 opencontent/jcremoteid-ls 二次开发

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

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

opencontent/jcremoteid-ls

最新稳定版本:1.0

Composer 安装命令:

composer require opencontent/jcremoteid-ls

包简介

jcRemoteID Datatype (OpenContent Fork)

README 文档

README

jcRemoteID is an extension allowing user to manage Object RemoteID
and Nodes RemoteID directly from edit mode with a datatype or with
a custom module/view (remoteid/update/<NodeID>) available from
context menu (main one, on full view)


This extension has been created to avoid the use of nodeID or
objectID within configuration (any ini) and also override.ini
(not documented but override are working on remote id condition).

The main interest of this is to be able to manage the same remote
id between multiple environments (dev, test, production) for nodes
or objects (when object id or node id are auto increment).

-- Using Remote ID in fetch --

{def $object=fetch('content','object',hash('remote_id','MYOBJECT'))}
{def $node=fetch('content','node',hash('remote_id','MYNODE'))}


-- Using Remote ID in override --

[full_myobject]
Source=node/view/full
Subdir=templates
MatchFile=node/view/full/myobject.tpl
Match[remode_id]=MYOBJECT


[full_mynode]
Source=node/view/full
Subdir=templates
MatchFile=node/view/full/mynode.tpl
Match[node_remode_id]=MYNODE


[full_mynode_children]
Source=node/view/full
Subdir=templates
MatchFile=node/view/full/mynode_child.tpl
Match[parent_node_remode_id]=MYNODE

[full_myobject_children]
Source=node/view/full
Subdir=templates
MatchFile=node/view/full/myobject_child.tpl
Match[parent_object_remode_id]=MYOBJECT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2016-02-22