You can also create your macro in a page and then load that page
using the #includeMacros macro wherever you need it. See http://
 From what I understand, there's two ways to do it.  One, add it to
 macros.vm in your skin directory.  Two, put it in a .vm file you
 include in the document you need to use it in (using #template
 ("filename.vm")).  Anyone know if there any better ways?
 -Tom
 --
 Tom Kliethermes
 eSupport Initiatives
 IBM Information Management
 (913) 599-7240   Fax: (913) 599-8590
 
http://www.ibm.com/software/data
 roopesh(a)digitalglue.in
 04/25/2007 02:19 AM
 Please respond to
 xwiki-users(a)objectweb.org
 To
 xwiki-users(a)objectweb.org
 cc
 Subject
 [xwiki-users] How to create a macro ?
 Hi
 How can I create my own macro in my xwiki (say, a macro for adding
 two numbers). Where should I write it. So that I can use it from
 any page ?
 Regards
 Roopesh
 --
 You receive this message as a subscriber of the xwiki-
 users(a)objectweb.org mailing list.
 To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
 For general help: mailto:sympa@objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/
 wws
 --
 You receive this message as a subscriber of the xwiki-
 users(a)objectweb.org mailing list.
 To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
 For general help: mailto:sympa@objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/
 wws