Excellent! That makes a difference.  Thanks!

Now, in wysiwyg edit mode, when I use the Macro -> Insert Macro -> Box, the resulting display just shows my text without a box around it. For example, using the macro dialog, I enter the following parameters:

   Title= test box
   Width=90%
   Content=A new bit of text that should have a box around it.

I click Apply and save & view the page, but there is no box around the text.
I see in wiki edit mode that the dialog has produced the following code:

{{box title="test box" width="90%"}}A new bit of text that should have a box around it. {{/box}}

Any thoughts on why my display is not showing a box around the text?

-alan


Chris Phelan wrote:
alan mcclellan wrote:
I'm experimenting with some of the xwiki macros. From the xwiki syntax helper page (http://hub.opensolaris.org/bin/view/XWiki/XWikiSyntax?xpage=print#HMacros) I copy the info macro:

    {{velocity}} #info("Some info text") {{/velocity}}

I paste this into my page. However, in my rendered page, instead of a box with light bulb image, the macro displays as follows:

    <div class="infomessage">Some info text</div>

What am I missing? Am wrestling with other macros, too, but thought I'd start with an easy one.


You need to enter;

{{velocity}}
{{html}}
#info("Some info text")
{{/html}}
{{/velocity}}

and I'd suggest that either the page you cite is incorrect, or the info macro should include the {{html}} in its output.

I'll check into it and log an XWiki bug if required.

Chris
_______________________________________________
website-discuss mailing list
[email protected]

Reply via email to