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

Documentation

HTML Entities Macro for WebGUI

What's this?:

This WebGUI macro converts special characters to html code.

System requirements:

  • Web server (tested on Apache 2)
  • WebGUI (tested on WebGUI V7.4.x)
  • Perl module HTML::Entities

Files:

  • WebGUI/docs/Macro_HTMLEntities.html: This document here
  • WebGUI/lib/WebGUI/Help/Macro_HTMLEntities.pm: Help file
  • WebGUI/lib/WebGUI/Macro/HTMLEntities.pm: WebGUI macro
  • WebGUI/lib/WebGUI/i18n/English/Macro_HTMLEntities.pm: Texts in english language
  • WebGUI/lib/WebGUI/i18n/German/Macro_HTMLEntities.pm: Texts in german language

Installation:

  1. Download the package source from http://sourceforge.net/projects/addons4webgui
  2. Extract it into your WebGUI install. Example: tar xvfz /path/to/Macro_HTMLEntities-x.x.x.tar.gz /path/to/WebGUI
  3. Edit WebGUI.conf file to add the HTMLEntities macro to the macro list
  4. Restart web server

Usage:

ˆHTMLEntities([string]);

Example: ˆHTMLEntities("äöü");

Macro parameter description:
  1. Paramter: a string

Troubleshooting:

See web server log file and/or webgui log file.

Changelog:

V1.0.0:
  • Migrated to WebGUI V7.4.x
V0.1.0:
  • First release
Copyright 2006-2008, studio4master
Licensed under the GNU General Public License (GPL) V3

http://addons4webgui.studio4master.ch

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