Master.dwt更改导致代码更改 [英] Master.dwt changes cause code changes

查看:38
本文介绍了Master.dwt更改导致代码更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将master.dwt更改为我的右侧div列。 更新完所有页面后,我发现与我的产品相关的PayPal代码已被更改,使其无法使用。代码更改如下:

I just did a master.dwt change to my right div column.  After updating all pages I found that the PayPal codes associated with my product had been altered making them unusable. The code change was as follows:

旧的正确代码:< input type =" ;隐藏"名称= QUOT; CMD" value =" _s-xclick" />

新修改的 代码:
< input type =" hidden"名称= QUOT; CMD0" value =" _s-xclick" />

New altered code: <input type="hidden" name="cmd0" value="_s-xclick"/>

在cmd之后添加0会导致链接变坏。 在具有多个这些样式链接(其PayPal付款链接按钮)的页面上,每个后续cmd值都添加了一个序列号,即。 cmd0,然后是cmd1,然后是cmd2等。

The addition of the 0 after cmd caused the link to go bad.  On pages with more than one of these style links (its a PayPal payment link button) each subsequent cmd value had a sequential number added, ie. cmd0, then cmd1, then cmd2, etc.

有关为什么会发生这种情况的任何线索? 有几百个项目,进行更改然后必须更正所有页面是完成任务。 帮助将不胜感激。

Any clue as to why this occurs?  With a few hundred items, making a change and then having to correct all pages is quite the task.  Help would be appreciated.

推荐答案

转到...

工具,页面编辑器选项,常规。

Tools, Page Editor Options, General.

取消选中在粘贴时将ID设为唯一


这篇关于Master.dwt更改导致代码更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆