Help: Macros, List of Available

For more help, visit the WebGUI Community Wiki.

Making a macro available for use on your site is a two step process.

  1. The macro code should be in a macro folder in the WebGUI sourcecode or in a custom folder that ends with lib/WebGUI/Macro/ (e.g. /data/custom/lib/WebGUI/Macro). When such a custom folder is used, make sure there is a file preload.custom which indicates the presence of this custom code. With the given example a line like this should exist: /data/custom/lib
  2. The macro must be enabled in your WebGUI.conf file, in the "macros" section. In that section, you can assign a shortcut that is different from the macro's name.

The table below shows which macros are installed on your site and which have been configured in your WebGUI.conf file.

Macro Name Macro Enabled? Macro Shortcut
RecentResolvedTicketsYes^RecentResolvedTickets();
DBSchemaYes^DBSchema();
GooeyDateYes^GooeyDate();
WebGUIStatusYes^WebGUIStatus();
WebGUIVersionYes^WebGUIVersion();
RecentDiscussionYes^RecentDiscussion();
RecentSupportDiscussionYes^RecentSupportDiscussion();
KarmaYes^Karma();
FormatMailDateYes^FormatMailDate();
MiniCartYes^MiniCart();
IncludeNo 
AdminToggleYes^AdminToggle();
FilePumpYes^FilePump();
ConvertUTCToTZYes^ConvertUTCToTZ();
ExtrasYes^Extras();
Hash_userIdYes^#();
RootTitleYes^RootTitle();
UserYes^User();
DeactivateAccountYes^DeactivateAccount();
GroupDeleteYes^GroupDelete();
QuoteNo 
FileUrlYes^FileUrl();
L_loginBoxYes^L();
RandomAssetProxyYes^RandomAssetProxy();
D_dateYes^D();
TwitterLoginYes^TwitterLogin();
SpacerYes^Spacer();
UsersOnlineYes^UsersOnline();
ViewCartYes^ViewCart();
FormFieldYes^FormField();
PageTitleYes^PageTitle();
CanEditTextYes^CanEditText();
StorageUrlYes^StorageUrl();
BackToSiteYes^BackToSite();
EditableToggleYes^EditableToggle();
e_companyEmailYes^e();
u_companyUrlYes^u();
SessionIdYes^SessionId();
GroupTextYes^GroupText();
Splat_randomNo 
AOIHitsNo 
FormParamNo 
CartItemCountYes^CartItemCount();
FacebookLoginNo 
At_usernameYes^@();
ExecuteNo 
PageUrlYes^PageUrl();
GroupAddYes^GroupAdd();
c_companyNameYes^c();
EnvYes^Env();
WidgetNo 
LastUpdatedByNo 
AssetProxyYes^AssetProxy();
SpectreCheckYes^SpectreCheck();
r_printableYes^r();
AdminTextYes^AdminText();
RenderThingDataYes^RenderThingData();
a_accountYes^a();
Slash_gatewayUrlYes^/();
ThumbnailYes^Thumbnail();
PageYes^Page();
LastModifiedYes^LastModified();
URLEncodeNo 
IfYes^If();
TGCAccountNo 
EnvolveNo 
AssetPropertyYes^AssetProperty();
PickLanguageYes^PickLanguage();
RandomThreadYes^RandomThread();
AOIRankNo 
FetchMimeTypeNo 
SQLNo 
LoginToggleYes^LoginToggle();
H_homeLinkYes^H();
AdSpaceYes^AdSpace();
NewMailNo 
InternationalYes^International();
AdminBarYes^AdminBar();

 
 
Admin Console
Help: Macros, List of Available
*
Admin Console