我是新的动态组件模板。
我已经创建了一个组件模板,并使它“发布为动态组件”,并允许“允许在页面上使用动态组装”。
我没有在我的系统中配置Deployer,所有已发布的项目都存储在某个本地位置。
我已经发布了这个组件模板,我正在试图找到已发布的CT。我在已发表的文章中没有找到这个CT。
Deployer必须使用动态CT,以及如何使用动态CT创建页面。
有什么办法解决这个问题吗?
编辑
Addinf storageconfig文件
<?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中
提前谢谢。
发布于 2012-10-10 07:05:33
请检查您的存储配置文件(cd_storage_conf.xml)的动态CPs位置。如果您没有指定,它将使用默认位置。
您可以指定自己的位置。
<ItemTypes defaultStorageId="Default Storage" cached="CACHE_BEHAVIOR">
<Item typeMapping="ComponentPresentation" itemExtension=".Jsp" cached="CACHE_BEHAVIOR" storageId="DCPStorage" />
......
</ItemTypes>https://stackoverflow.com/questions/12813603
复制相似问题