我一直在构建一个仅 JavaScript 和 CSS 的 GUI 扩展。
我在这里按照阿尔伯特帖子中的说明进行操作:http: //albertromkes.com/2012/01/30/tridion-gui-extensions-how-to-load-a-javascript-without-showing-a-gui-element/
JavaScript 加载正常,但我无法包含 CSS,我错过了什么吗?
这是我的配置文件的近似值:
<?xml version="1.0" ?>
<Configuration xmlns="http://www.sdltridion.com/2009/GUI/Configuration/Merge"
xmlns:cfg="http://www.sdltridion.com/2009/GUI/Configuration"
xmlns:ext="http://www.sdltridion.com/2009/GUI/extensions"
xmlns:cmenu="http://www.sdltridion.com/2009/GUI/extensions/ContextMenu">
<resources cache="true">
<cfg:filters/>
<cfg:groups>
<cfg:group name="Rob.Prototype.Extensions"
merger="Tridion.Web.UI.Core.Configuration.Resources.CommandGroupProcessor"
merge="always">
<cfg:domainmodel name="Rob.Prototype.Extensions.Domain">
<cfg:fileset>
<cfg:file type="script">/Scripts/script1.js</cfg:file>
<cfg:file type="script">/Scripts/script2.js</cfg:file>
<cfg:file type="style">/CSS/styles.css</cfg:file>
</cfg:fileset>
<cfg:services/>
</cfg:domainmodel>
</cfg:group>
</cfg:groups>
</resources>
<definitionfiles/>
<extensions>
<ext:editorextensions/>
<ext:dataextenders/>
</extensions>
<commands/>
<contextmenus/>
<localization/>
<settings>
<defaultpage>/Views/Default.aspx</defaultpage>
<navigatorurl>/Views/Default.aspx</navigatorurl>
<editurls/>
<listdefinitions/>
<itemicons/>
<theme>
<path>/CSS/</path>
</theme>
<customconfiguration/>
</settings>
</Configuration>