Thank Jun, Should this be added to the trunk of cms6? Can somebody with cms6 locationmap knowledge add this to the trunk if it is ok?
Regards Ard On Fri, Feb 13, 2009 at 7:28 PM, <[email protected]> wrote: > Hi hippo, > > In hippo cms Branch-CMS-v6_05_xx, I found that when I configure multiple > preview url from locationmap[1], the preview button on explorer doesn't > contain the resource path (Similar problem to CMSSIX-196[2]). > > The fix is simple: > > editor/src/site/explorer/transformers/actionform/actions2template.xsl > editor/src/site/explorer/transformers/toolbarform/actions2template.xsl > <xsl:variable name="realPreviewUrl"> > <xsl:choose> > <xsl:when test="$previewUrl != ''"> > <xsl:value-of select="concat($previewUrl,$resourceId)"/> > </xsl:when> > <xsl:otherwise> > - <xsl:value-of select="previewUrlFromLocationmap"/> > + <xsl:value-of > select="concat($previewUrlFromLocationmap,$resourceId)"/> > </xsl:otherwise> > </xsl:choose> > </xsl:variable> > > > > Cheers, > > Jun > > > > [1] > http://www.hippocms.org/display/CMS/Configuring+multiple+preview+urls > > [2] > http://www.mail-archive.com/[email protected]/msg05368.htm > l > > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
