You are here: addons4webgui > Home > Macros
User: Visitor
Navigation
News
Login
Macros

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

/uploads/b1/08/b108f164dac91382ba32efa7aef24cad/extfilelist1.png

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.

Text2Image_Macroarial2d0e3f180Centertrue00_button.png

Would you like to watch the macro in live action, go to the demo page.

For more informations, follow the link below.

Documentation


http://addons4webgui.studio4master.ch

            Valid CSS!  
Running on WebGUI 7.6.25-s4m-20090617
Copyright (c) 2001-2009 by studio4master