.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. _variables: Default Variables ----------------- The FluidRTE-Extension automatically adds various default variables to use everywhere, so that these can be used in content headers or RTE content or anywhere other. Here is a list of those default variables, that this extension implements: +---------------+-----------------------------------------------------------------------------------------------+ | Variable Name | Content | +===============+==========+====================================================================================+ | {feUser} | Frontend User from $GLOBALS['TSFE']->fe_user->user | +---------------+-----------------------------------------------------------------------------------------------+ | {beUser} | Backend User from $GLOBALS['BE_USER']->user | +---------------+-----------------------------------------------------------------------------------------------+ | {page} | Current Page Information extracted from $GLOBALS['TSFE']->page | +---------------+-----------------------------------------------------------------------------------------------+ | {baseUrl} | Configured baseURL for your instance (config.baseURL) | +---------------+-----------------------------------------------------------------------------------------------+ | {timestamp} | Current Timestamp in UNIX-Format | +---------------+-----------------------------------------------------------------------------------------------+ | {year} | Current Year (e.g. 2015) | +---------------+-----------------------------------------------------------------------------------------------+ | {month} | Name of the current month | +---------------+-----------------------------------------------------------------------------------------------+ | {week} | Current Week Number | +---------------+-----------------------------------------------------------------------------------------------+ | {day} | Current Day Name | +---------------+-----------------------------------------------------------------------------------------------+ | {GET} | Copy of all variables from GET (be carefull!) | +---------------+-----------------------------------------------------------------------------------------------+ | {POST} | Copy of all variables from POST (be carefull!) | +---------------+-----------------------------------------------------------------------------------------------+ | {time} | The current time with preconfigured format e.g. 15:12 | +---------------+-----------------------------------------------------------------------------------------------+ .. warning:: Please be carefull with the GET and POST Variables because they are raw added to the template. It could be necessary to validate them or set a type.