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
Splat_randomNo 
InternationalYes^International();
EditableToggleYes^EditableToggle();
L_loginBoxYes^L();
LastModifiedYes^LastModified();
DeactivateAccountYes^DeactivateAccount();
TwitterLoginYes^TwitterLogin();
D_dateYes^D();
AdminTextYes^AdminText();
CartItemCountYes^CartItemCount();
FilePumpYes^FilePump();
RootTitleYes^RootTitle();
u_companyUrlYes^u();
SpectreCheckYes^SpectreCheck();
UserYes^User();
SetRedirectNo 
AdSpaceYes^AdSpace();
StorageUrlYes^StorageUrl();
AOIRankYes^AOIRank();
PerlNo 
LoginToggleYes^LoginToggle();
SQLNo 
PageTitleYes^PageTitle();
ConvertUTCToTZYes^ConvertUTCToTZ();
ViewCartYes^ViewCart();
IncludeNo 
MiniCartYes^MiniCart();
AssetProxyYes^AssetProxy();
At_usernameYes^@();
Slash_gatewayUrlYes^/();
a_accountYes^a();
FormFieldYes^FormField();
FetchMimeTypeYes^FetchMimeType();
Hash_userIdYes^#();
UsersOnlineYes^UsersOnline();
ExtrasYes^Extras();
RandomThreadYes^RandomThread();
AdminBarYes^AdminBar();
r_printableYes^r();
BackToSiteYes^BackToSite();
QuoteNo 
H_homeLinkYes^H();
GroupTextYes^GroupText();
PageUrlYes^PageUrl();
AOIHitsYes^AOIHits();
RandomAssetProxyYes^RandomAssetProxy();
c_companyNameYes^c();
PageYes^Page();
AdminToggleYes^AdminToggle();
NoIndexNo 
LastUpdatedByNo 
getUriNo 
FlashNo 
WidgetNo 
PickLanguageYes^PickLanguage();
IfYes^If();
SpacerYes^Spacer();
FormParamNo 
NewMailNo 
EnvNo 
GroupDeleteYes^GroupDelete();
FileUrlYes^FileUrl();
GroupAddYes^GroupAdd();
AssetPropertyYes^AssetProperty();
e_companyEmailYes^e();
SessionIdNo 
CanEditTextYes^CanEditText();
RenderThingDataYes^RenderThingData();
URLEncodeNo 
ThumbnailYes^Thumbnail();
ExecuteNo 

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