I'll check this tomorrow morning (CET). 2009/2/16 Ard Schrijvers <[email protected]>
> 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 > > -- Jasha Joachimsthal [email protected] - [email protected] www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-5100 +1 (707) 773-4646 ******************************************** 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
