I just upload the update of the Blog 2.0 Upgrade. Cheers
Andreas Schaefer CEO of Madplanet.com Inc. EMail: [email protected] [email protected] Twitter: andy_mpc AIM: [email protected] On Monday, July 13, 2009, at 12:56PM, "Andreas Schaefer" <[email protected]> wrote: >Hi > >I figured out the problem with the mixed up display of the Blog 2.0 entry. >Inside the Blog.BlogCode(2).displayEntryContent is this line: > > #if($!entryDoc.syntaxId == 'xwiki/1.0') > >The type of my 'syntaxId' is 'xwiki/2.0' but this evaluation still fails. >Changing this to this: > > #if($entryDoc.syntaxId == 'xwiki/1.0') > $entryDoc.getRenderedContent($entryContent, $entryDoc.getSyntaxId()) > #else > #if($entryDoc.syntaxId == 'xwiki/2.0') > $entryContent > #else > $entryDoc.getRenderedContent($entryContent, $entryDoc.getSyntaxId()) > #end > #end > >Does the trick. I have some other things to fix like the upgrade of the >Publisher but as soon as I have done that I will attach an updated version of >the XAR file onto the JIRA report. > >Have fun > >Andreas Schaefer >CEO of Madplanet.com Inc. >EMail: [email protected] > [email protected] >Twitter: andy_mpc >AIM: [email protected] > > >On Friday, July 10, 2009, at 07:53PM, "Andreas Schaefer" <[email protected]> >wrote: >>Hi >> >>I just uploaded an XAR export onto this JIRA report: >> >>http://jira.xwiki.org/jira/secure/ManageAttachments.jspa?id=26378 >> >>It contains the changed documents supporting 2.0 syntax. For now the upgraded >>pages contain the suffix '2' including the WebHome which is called >>'WebHome2'. To check out what I did please open this page 'Blog/WebHome2' to >>view the Blog. >> >>To test it out download the attached file and import it (it will not >>overwrite any Blog documents). >> >>I have 2 major issues so far: >> >>1) The post is not displayed correctly (there is some mixup with Velocity and >>the startmacro and stopmacro comment. >> >>2) The Categories / Archive Panel cannot be upgraded to 2.0 Syntax because >>the Panel is still in 1.0 syntax. I don't know how to resolve that except >>keeping the panel and the code pages available in 1.0 syntax. >> >>I would appreciate if anyone could help me on number 1) because I don't know >>where start looking right now. >> >>Cheers >> >>Andreas Schaefer >>CEO of Madplanet.com Inc. >>EMail: [email protected] >> [email protected] >>Twitter: andy_mpc >>AIM: [email protected] >>_______________________________________________ >>devs mailing list >>[email protected] >>http://lists.xwiki.org/mailman/listinfo/devs >> >> >_______________________________________________ >devs mailing list >[email protected] >http://lists.xwiki.org/mailman/listinfo/devs > > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

