简体   繁体   English

Sitecore复制的项目显示错误的内容

[英]Sitecore copied item displaying wrong content

I'm new to sitecore have been tasked with creating some ppc landing pages for a client who's developer has moved on. 我是Sitecore的新手,其任务是为开发人员继续前进的客户创建一些ppc登陆页面。

Their previous developer had created several of these pages in the past and the content is very similar so I have copied one of the previous pages and changed the content. 他们以前的开发人员过去曾创建过其中几个页面,内容非常相似,因此我复制了以前的页面之一并更改了内容。

The problem is that the copy is still referencing the content of the original page, i know this as if i change the content of the original the copy also changes too. 问题在于副本仍在引用原始页面的内容,我知道这就像我更改了原始内容一样,副本也发生了变化。

The pages sub items are a mix of rich text fields and custom sublayouts. 页面子项是富文本字段和自定义子布局的组合。

Have I done something wrong or is this a bug? 我做错了什么还是一个错误? Can anyone suggest a fix? 任何人都可以提出修复建议吗?

Id imagine something like the reference to the subitems in the database has not changed from original. 我想像一下,对数据库中子项目的引用没有改变。

How did you copy the previous page? 您是如何复制上一页的? In Sitecore you should be able to use either the Copy or Duplicate command, and be able to change the copied item without the original being changed (our content editors have a habit of doing this as well). 在Sitecore中,您应该能够使用“复制”或“复制”命令,并且能够在不更改原始内容的情况下更改复制的项目(我们的内容编辑器也有这样做的习惯)。

My guess would be that the sublayouts are pointing at a specific item, rather than the Context item, but that would be hard to say without code or ascx snippets. 我的猜测是子布局指向的是特定项目,而不是上下文项目,但是如果没有代码或ascx代码段,这很难说。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM