【发布时间】:2012-10-10 06:54:44
【问题描述】:
我是动态组件模板的新手。
我创建了一个组件模板并将其“发布为动态组件”并允许“使用动态组件在页面上允许”。
我的系统中没有配置 Deployer,所有已发布的项目都存储在某个本地位置。
我已发布此组件模板,我正在尝试查找已发布的 CT。 我在已发表的文章中没有找到此 CT。
部署者必须使用动态 CT 以及如何使用动态 CT 创建页面。
任何人都可以为此提供一些解决方案吗?
编辑
添加存储配置文件。
<?xml version="1.0" encoding="UTF-8"?>
<Configuration Version="6.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="schemas/cd_storage_conf.xsd">
<Global>
<!--Optional:-->
<ObjectCache Enabled="false">
<!--Optional:-->
<Policy Type="LRU" Class="com.tridion.cache.LRUPolicy">
<Param Name="MemSize" Value="16mb"/>
</Policy>
<Features>
<Feature Type="DependencyTracker" Class="com.tridion.cache.DependencyTracker"/>
</Features>
</ObjectCache>
<Storages>
<Storage Type="persistence" Id="defaultdb" dialect="MSSQL" Class="com.tridion.storage.persistence.JPADAOFactory" defaultStorage="true">
<Pool Type="jdbc" Size="5" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />
<DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
<Property Name="serverName" Value="MyserverName" />
<Property Name="portNumber" Value="MYPORT" />
<Property Name="databaseName" Value="Tridion_Broker" />
<Property Name="user" Value="TridionBrokerUser" />
<Property Name="password" Value="MyPassword" />
</DataSource>
</Storage>
<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultFile" defaultFilesystem="false">
<Root Path="c:\temp" />
</Storage>
<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultDataFile" defaultFilesystem="true" defaultStorage="false">
<Root Path="c:\temp\data" />
</Storage>
</Storages>
</Global>
<ItemTypes defaultStorageId="defaultdb" cached="false">
<Item typeMapping="Page" cached="false" storageId="defaultFile"/>
<Item typeMapping="ComponentPresentation" itemExtension=".Jsp" storageId="defaultFile"/>
<Item typeMapping="ComponentPresentation" itemExtension=".Asp" storageId="defaultFile"/>
<Item typeMapping="ComponentPresentation" itemExtension=".Xml" storageId="defaultFile"/>
<Item typeMapping="ComponentPresentation" itemExtension=".Txt" storageId="defaultFile"/>
</ItemTypes>
</Configuration>
再次明确我已经发布了动态组件模板,虽然 CT 已发布,但我无法在服务器的已发布项目中找到。已发布的项目存储在 c:\temp
提前致谢。
【问题讨论】:
-
让我们从头开始。您是否将该动态 CT 链接到模式?您是否有基于该架构的组件?该组件是否在 GUI 中标记为“已发布”?也就是说:图标上是不是有个小地球仪?
-
@Quirjin。我已将该动态 CT 链接到架构。我已将架构链接到 CT。我已经发布了 CT 和组件。两者都已发布,并且地球位于图标顶部。
-
即使在指定了它的位置之后。我无法在已发布的项目下找到 CT。
标签: tridion tridion-2011 tridion-content-delivery