Overview
On this page you can find all the macros available on this project with a short description and a screenshot.
Here you can find more informations about macros for the content management system WebGUI.
Available macros:
AssetProxyPlus
The basic of this macro comes from the macro AssetProxy. Additional, this macro supports a parameter to set a custom template.
Example
Macro: ˆAssetProxyPlus(/url/to/the/asset,templateId);
For more informations, follow the link below.
Documentation
Browser
This macro detects the current browser and returns it. With the additional parameter version it returns the version of the browser.
Example and demo
Macro: ˆBrowser(); -> your browser: robot
Macro: ˆBrowser(version); -> your browser version: 1
For more informations, follow the link below.
Documentation
ExtFileList
With this macro, it is possible to provide files in a simple list for download (like apache).
Would you like to watch the macro in live action, go to the demo page.
For more informations, follow the link below.
Documentation
HTMLEntities
This macro converts special characters to html code.
Example and demo
Macro: ˆHTMLEntities(äöü); -> Output: äöü
For more informations, follow the link below.
Documentation
Param
This macro returns various parameters from the methods POST (forms) and GET (query string in the URL).
If the parameter is not available on POST or GET, the macro returns the specified default value.
Would you like to watch the macro in live action, go to the demo page.
For more informations, follow the link below.
Documentation
Perl
With this macro, it is possible to include and run Perl scripts in WebGUI.
Example and demo
Macro: ˆPerl(my $output = "Hello World!"; return $output;); -> Output: Hello World!
For more informations, follow the link below.
Documentation
PHP
With this macro, it is possible to include and run PHP scripts in WebGUI.
Would you like to watch the macro in live action, go to the demo page.
For more informations, follow the link below.
Documentation
Text2Image
This WebGUI macro creates an image with given text from a template image in the folder uploads/text2image and returns the html tag <img...> or the image url.

Would you like to watch the macro in live action, go to the demo page.
For more informations, follow the link below.
Documentation