问题标签 [dreamweaver-templates]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
dreamweaver - 如何获取 DWT 中 TemplateRepeatIndex 的最大索引计数
我有一个 tridion 组件,其中它的元数据设计有一个名为“列表”的字段,该字段使用类别和关键字填充
我使用 DWT 代码使用 My DWT TBB 使用以下代码填充列表中存在的项目
但我得到预览
一二三四五,
期望的输出应该是:一、二、三、四、五
所以为此我需要获得“TemplateRepeatIndex”的最大计数是否有任何内置函数来检查相同。
使用 Tridion-sp1,2011。
tridion - 在嵌入式字段中循环组件链接
我们有一个“组件 A”,它有一个“嵌入字段”类型的多值字段。嵌入的字段又具有“组件链接”类型的多值字段。
这看起来像: 组件 A -> 嵌入式 Shcema 字段 -> 组件链接
如何在dreamweaver中迭代和访问“组件链接”的字段?此外,组件字段支持三种不同的模式,我们想在 Dreamweaver 中检查这些模式名称。
我发现这篇文章很有用。但是更多的细节确实很棒。
tridion - 在 Dreamweaver TBB 中使用 TemplateBeginRepeat 在不同的模板级别获取字段值
我正在尝试编写 Dreamweaver TBB,但我被困在需要在不同模板级别获取字段值的地方。
下面是我的 XML,我需要将 formField 级别的 inputType 字段获取到输入模板级别。
要获得相同级别的值,我们可以使用
但我的要求是在输入模板级别获取 inputValue
此代码无法返回,因为输入模板级别不存在 inputType。所以我尝试使用:
这里有两个问题,当我使用 RenderComponentField 时,输出如下所示:
它返回值以及我不需要的 tcdl 标签。
其次,我需要使用而不是直接给出 0 的索引TemplateRepeatIndex
,但是如果我使用它会给出错误@@RenderComponentField("formField[TemplateRepeatIndex].inputType",0)@@
那么如果我们想在不同的模板级别获取字段值,我们如何实现这一点。
html - 来自 Dreamweaver 的网页上令人讨厌的横幅
我使用 Dreamweaver 从我从 timothy 框架中获得的模板创建了一个网站,可以在此处 查看该网站http://www.manchestertemplate.info/如果您注意到在网页的最顶部有一条橙色的细条或横幅不是背景图像的一部分。它在那个网站上看起来不错,但是如果您尝试更改墙纸,它可能看起来不太好。我真的想摆脱它,但我似乎无法在任何地方找到它的代码,它是在 HTML 中还是在css 样式表。请帮忙。
java - 如何让 jsoup 使用 Dreamweaver 显示来自网站的图片?
我正在开发一个简单的应用程序,它可以像 tumblr 和 9gag 一样显示图片。我无法完全完成它,我希望有人可以帮助我解决这个问题,我正在尝试在没有标题或描述的单行中显示来自 eversorandom.com 的图片。
dreamweaver - Dreamweaver Template '@@'
I've been researching the use of templates and repeating sections with Dreamweaver and I was reading the Adobe page on repeating sections (http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7ab0a.html).
At the bottom of the page there is an example of using a repeating section with a table and making the row background colours alternate using
Curious about this '@@' tag, I started Googling 'dreamweaver double at' and similar things but failed to find anything. It appears to be some sort of script, however I can't find any further information about it. If anyone could point me in the correct direction that would be most appreciated.
html - Dreamweaver 模板 master.css 不在本地磁盘上
我在dreamweaver上设计。我有一个 html 文件和一个 css,我从中制作了一个模板。但是,模板中似乎没有包含 css 文件,因为“.dwt”文件没有显示 css 中提到的任何样式,并且显示如下消息:
master.css 不在本地磁盘上
它旁边有一个“获取”链接,它是不活动的。如果您能帮我解决这个问题,我将不胜感激。
html - 使菜单上的当前页面以不同的颜色显示
使用 html、css 和 DW 模板,如何使菜单中当前页面的链接的字体颜色与其他页面链接的颜色不同?我不知道JavaScript等。
html - 为什么浏览器“Firefox Page Source”会显示两个结束标签?
Dreamweaver 显示错误消息“不平衡的正文标记”
导致关闭body标签两次的东西。和
需要修复,所以最后只有一个。