Sergiu Dumitriu wrote:
>> Just looked at the code to see how it works.
>>
>> Registering in velocity.properties causes the file to be parsed once
>> when the platform starts.
>>
>> Registering in XWikiPreferences causes the file to be parsed for each
>> line (!) of the parsed document.
>>
>>
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
> Guillaume Lerouge wrote:
>> First you need to put all your macros in one page, let's say
>> XWiki.MyMacros . Then you'll have to go to the Administration, Tab
>> Preferences, Line Advanced. Then put the name of your page in the
>> Velocity
Guillaume Lerouge wrote:
> First you need to put all your macros in one page, let's say
> XWiki.MyMacros . Then you'll have to go to the Administration, Tab
> Preferences, Line Advanced. Then put the name of your page in the
> Velocity Macro Pages field (you can put only one page there for
> pe
Sergiu Dumitriu wrote:
> If it doesn't have to be a wiki document, then the best thing to do is
> to write a mymacros.vm file, put it somewhere, like /skins/mymacros.vm,
> and register it in /WEB-INF/velocity.properties (search for macros.vm
> and append it there).
>
Thanks Sergiu. This sure
Hi Ricardo,
> Please, where must I include a #includeMacros macro to have the macros
> defined there available for any document in a wiki?
>
> I see the Macro Mapping field in Administration > Preferences >
> Advanced, but I am not able to find how to use it. I've tried by putting
> the macros the
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
> Please, where must I include a #includeMacros macro to have the macros
> defined there available for any document in a wiki?
>
> I see the Macro Mapping field in Administration > Preferences >
> Advanced, but I am not able to find how to us
Please, where must I include a #includeMacros macro to have the macros
defined there available for any document in a wiki?
I see the Macro Mapping field in Administration > Preferences >
Advanced, but I am not able to find how to use it. I've tried by putting
the macros there, the macro there c