[Hypercontent-users] HyperContent 2 RC Questions
Brought to you by:
alexvigdor
From: Carl B. <C.P...@hu...> - 2005-11-14 13:02:02
|
Hi Alex I hope you had a good break. I have now set up HyperContent 2 at hull and although I havent had a long look at it and all its features I have migrated a couple of site from H/C 1.4 which seemed very straight forward. I have a come across a some small problems which I cant seem to solve. 1 although I have all the pft setting correct I get an error on build: The requested URL /esig/hypertest/build/pdf/index.pdf was not found on this server. [org.hypercontent.filesystem.impl.FTPUnixFileSystemImpl.checkFileSystemConnectionStatus(FTPUnixFileSystemImpl.java:301), org.hypercontent.filesystem.impl.FTPUnixFileSystemImpl.isConnected(FTPUnixFileSystemImpl.java:129), org.hypercontent.filesystem.impl.RemoteFileSystemImpl.mount(RemoteFileSystemImpl.java:91), org.hypercontent.filesystem.FileSystemFactory.mountFileSystemManager(FileSystemFactory.java:165), org.hypercontent.filesystem.FSMount.getManager(FSMount.java:86), org.hypercontent.workflow.exec.impl.AbstractBatchExecutable.execute(AbstractBatchExecutable.java:188), org.hypercontent.workflow.exec.impl.AbstractExecutable.runWithException(AbstractExecutable.java:127), org.hypercontent.workflow.exec.impl.AbstractExecutable.run(AbstractExecutable.java:147), org.hypercontent.workflow.queue.impl.ExecutableQueueRunner.run(ExecutableQueueRunner.java:106), org.hypercontent.workflow.thread.CPQThread.run(CPQThread.java:60)] 2 when viewing a site in H/C2 I can navigate though the content in the WYSIWYG view. If I use static links which are part of the xsl template (/my-directory/my-file.html), although they allow me to navigate the site is doesnt actually change to the corresponding content when I click edit. 3- Most of the sites here at hull have navigation auto generated using the following code (or something similar) <xsl:template name="left-navigation"> <xsl:for-each select="$navigation/nav-item/nav-item[starts-with(/cms:wrapper/cms:source/ @directory,@directory)]"> <xsl:for-each select="nav-item"> <xsl:variable name="onSelf" select="@location = $sourceItem/@location"/> <xsl:variable name="style"> <xsl:choose> <!-- this is self --> <xsl:when test="$onSelf"> <xsl:text></xsl:text> </xsl:when> <!-- normal link --> <xsl:otherwise> <xsl:text></xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="$onSelf"> <!--just have a span here if you want the links to vanish on click <span style="{$style}"> <xsl:value-of select="@label"/> </span> --> <xsl:call-template name="navigation-link-side"> <xsl:with-param name="style" select="$style"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="navigation-link-side"> <xsl:with-param name="style" select="$style"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:for-each> </xsl:template> <xsl:template name = "navigation-link-side"> <xsl:param name = "nav-item" select = "."/> <xsl:attribute name = "href"> <xsl:choose> <xsl:when test = "starts-with($nav-item/@location,'/')"> <xsl:value-of select = "concat($baseurl,$nav-item/@base,'.html')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select = "$nav-item/@location"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test = "$nav-item/@target"> <xsl:attribute name = "target"> <xsl:value-of select = "$nav-item/@target"/> </xsl:attribute> </xsl:if> <xsl:value-of select = "$nav-item/@label"/> </a </xsl:template> When I use the WYSIWYG view to look at the site in H/C2 this navigation isnt rendered with the rest of the page. Is there anything that I can do to fix this? Cheers Carl ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |