On Apr 22, 2009, at 12:40 PM, Jonas Almfeldt wrote:
Hi,
I believe I'm having the same problem with rendering of macros
(particularly
the #info() and also {{code}} macro in the xwiki/2.0 syntax in xwiki
1.8.1.
What problem? Have you seen my answer to Kelly?
Thanks
-Vincent
Kind regards,
Jonas
On 4/21/09, Kelly Lakas <klakas(a)nwlinc.com> wrote:
>
> Hi -
>
>
>
> I am trying to make the warning box macro work in 2.0. From the
> research I did, it looked like I needed to put it in like this:
>
> {{velocity}}#warning("this needs an update"){{/velocity}}. Then I
> get
> this on render: <div class="warningmessage"><span
> class="messagetype">Warning: </span>this needs an
update</div>.
>
>
>
> I tried {{velocity}}{{xhtml}}#warning("this needs an
> update"){{/xhtml}}{{/velocity}} as well, but that failed too - I
> get an
> error box that says "unknown macro: html".
>
> I'm using XWiki Enterprise 1.8.1.18545, installed on my local box.
>
>
>
> I'm not a programmer/developer, so I'm a little stuck on the next
> step
> and my investigations so far haven't turned up what I need to do.
>
>
>
> I saw also on the footnotes macro page that the comment said that it
> didn't work in 2.0, so I'm assuming that needs an update to get it to
> work? Or is the comment wrong?
>
>
>
> Hate to bother, just looking for a little help.
>
>
>
> Kelly Lakas
>
> Project Manager
>
>
>
> next wave logistics inc.
>
> 28377 davis parkway, suite 607a
>
> warrenville, il 60555
>
> ________________________
>
>
>
> [office] 847.798.8897
>
> [mobile] 312.307.2079
>
> [web]
www.nwlinc.com <http://www.nwlinc.com>