cog
TypeDoc (Velocity Macro)
Category
Developed byUnknown
Rating
0 Votes
LicenseUnknown

Description

This is the equivalent of the C preprocessor include directive : the result is a copy of the script passed as argument, into your script.

Usage

#template($relativeURL)

Parameters definition

The path to the script you want to include.

The path is relative to the directory of your skin. For example, if you are using the albatross skin, and have installed XWiki using the installer with default settings, the skin path will be :

C:\Program Files\XWiki Enterprise\webapps\xwiki\skins\albatross
Failed to execute the [velocity] macro. Cause: [Nested scripts are not allowed. Current Script Macro [velocity] (source [extensions:ExtensionCode.ExtensionSheet]) is executed inside Script Macro [velocity] (source [extensions:ExtensionCode.ExtensionSheet])]. Click on this message for details.
Tags: script
    

Get Connected