diff --git a/lib/WebGUI/Help/Macro_H_homeLink.pm b/lib/WebGUI/Help/Macro_H_homeLink.pm index 136f07e44..4f1572e4c 100644 --- a/lib/WebGUI/Help/Macro_H_homeLink.pm +++ b/lib/WebGUI/Help/Macro_H_homeLink.pm @@ -4,7 +4,7 @@ our $HELP = { 'home link' => { title => 'home link title', - body => 'home link body', + body => '', variables => [ { 'name' => 'homeLink.url' diff --git a/lib/WebGUI/Help/Macro_Hash_userId.pm b/lib/WebGUI/Help/Macro_Hash_userId.pm deleted file mode 100644 index e1a868ca5..000000000 --- a/lib/WebGUI/Help/Macro_Hash_userId.pm +++ /dev/null @@ -1,16 +0,0 @@ -package WebGUI::Help::Macro_Hash_userId; - -our $HELP = { - - 'user id' => { - title => 'user id title', - body => 'user id body', - fields => [ - ], - related => [ - ] - }, - -}; - -1; diff --git a/lib/WebGUI/Help/Macro_Include.pm b/lib/WebGUI/Help/Macro_Include.pm deleted file mode 100644 index 2cbf8d9e6..000000000 --- a/lib/WebGUI/Help/Macro_Include.pm +++ /dev/null @@ -1,16 +0,0 @@ -package WebGUI::Help::Macro_Include; - -our $HELP = { - - 'include' => { - title => 'include title', - body => 'include body', - fields => [ - ], - related => [ - ] - }, - -}; - -1; diff --git a/lib/WebGUI/Help/Macro_International.pm b/lib/WebGUI/Help/Macro_International.pm deleted file mode 100644 index 028a45cdc..000000000 --- a/lib/WebGUI/Help/Macro_International.pm +++ /dev/null @@ -1,16 +0,0 @@ -package WebGUI::Help::Macro_International; - -our $HELP = { - - 'international' => { - title => 'international title', - body => 'international body', - fields => [ - ], - related => [ - ] - }, - -}; - -1; diff --git a/lib/WebGUI/Help/Macro_L_loginBox.pm b/lib/WebGUI/Help/Macro_L_loginBox.pm index aebba9dd3..b8354be93 100644 --- a/lib/WebGUI/Help/Macro_L_loginBox.pm +++ b/lib/WebGUI/Help/Macro_L_loginBox.pm @@ -4,7 +4,7 @@ our $HELP = { 'login box' => { title => 'login box title', - body => 'login box body', + body => '', isa => [ { namespace => "Asset_Template", diff --git a/lib/WebGUI/Help/Macro_LastModified.pm b/lib/WebGUI/Help/Macro_LastModified.pm deleted file mode 100644 index 28aebbecf..000000000 --- a/lib/WebGUI/Help/Macro_LastModified.pm +++ /dev/null @@ -1,16 +0,0 @@ -package WebGUI::Help::Macro_LastModified; - -our $HELP = { - - 'last modified' => { - title => 'last modified title', - body => 'last modified body', - fields => [ - ], - related => [ - ] - }, - -}; - -1; diff --git a/lib/WebGUI/Help/Macro_LoginToggle.pm b/lib/WebGUI/Help/Macro_LoginToggle.pm index d370e9021..da7bf7624 100644 --- a/lib/WebGUI/Help/Macro_LoginToggle.pm +++ b/lib/WebGUI/Help/Macro_LoginToggle.pm @@ -2,9 +2,23 @@ package WebGUI::Help::Macro_LoginToggle; our $HELP = { - 'login toggle' => { + 'login toggle' => { + isa => [ + { + namespace => "Asset_Template", + tag => "template variables" + }, + ], title => 'login toggle title', body => 'login toggle body', + variables => [ + { + 'name' => 'toggle.url' + }, + { + 'name' => 'toggle.text' + }, + ], fields => [ ], related => [ diff --git a/lib/WebGUI/Help/Macro_NewMail.pm b/lib/WebGUI/Help/Macro_NewMail.pm deleted file mode 100644 index 4bc18443d..000000000 --- a/lib/WebGUI/Help/Macro_NewMail.pm +++ /dev/null @@ -1,16 +0,0 @@ -package WebGUI::Help::Macro_NewMail; - -our $HELP = { - - 'new mail' => { - title => 'new mail title', - body => 'new mail body', - fields => [ - ], - related => [ - ] - }, - -}; - -1; diff --git a/lib/WebGUI/Help/Macro_Page.pm b/lib/WebGUI/Help/Macro_Page.pm deleted file mode 100644 index 552b73f79..000000000 --- a/lib/WebGUI/Help/Macro_Page.pm +++ /dev/null @@ -1,16 +0,0 @@ -package WebGUI::Help::Macro_Page; - -our $HELP = { - - 'page' => { - title => 'page title', - body => 'page body', - fields => [ - ], - related => [ - ] - }, - -}; - -1; diff --git a/lib/WebGUI/Help/Macro_PageTitle.pm b/lib/WebGUI/Help/Macro_PageTitle.pm deleted file mode 100644 index 7b3be67b2..000000000 --- a/lib/WebGUI/Help/Macro_PageTitle.pm +++ /dev/null @@ -1,16 +0,0 @@ -package WebGUI::Help::Macro_PageTitle; - -our $HELP = { - - 'page title' => { - title => 'page title title', - body => 'page title body', - fields => [ - ], - related => [ - ] - }, - -}; - -1; diff --git a/lib/WebGUI/Help/Macro_PageUrl.pm b/lib/WebGUI/Help/Macro_PageUrl.pm deleted file mode 100644 index fb954cf59..000000000 --- a/lib/WebGUI/Help/Macro_PageUrl.pm +++ /dev/null @@ -1,16 +0,0 @@ -package WebGUI::Help::Macro_PageUrl; - -our $HELP = { - - 'page url' => { - title => 'page url title', - body => 'page url body', - fields => [ - ], - related => [ - ] - }, - -}; - -1; diff --git a/lib/WebGUI/Help/Macro_Product.pm b/lib/WebGUI/Help/Macro_Product.pm index 0ceb4d343..ad12d3724 100644 --- a/lib/WebGUI/Help/Macro_Product.pm +++ b/lib/WebGUI/Help/Macro_Product.pm @@ -4,7 +4,7 @@ our $HELP = { 'product' => { title => 'product title', - body => 'product body', + body => '', variables => [ { 'name' => 'variants.message' diff --git a/lib/WebGUI/Help/Macro_Quote.pm b/lib/WebGUI/Help/Macro_Quote.pm deleted file mode 100644 index 4cadfe2b9..000000000 --- a/lib/WebGUI/Help/Macro_Quote.pm +++ /dev/null @@ -1,16 +0,0 @@ -package WebGUI::Help::Macro_Quote; - -our $HELP = { - - 'quote' => { - title => 'quote title', - body => 'quote body', - fields => [ - ], - related => [ - ] - }, - -}; - -1; diff --git a/lib/WebGUI/Help/Macro_RandomAssetProxy.pm b/lib/WebGUI/Help/Macro_RandomAssetProxy.pm deleted file mode 100644 index 67149c20d..000000000 --- a/lib/WebGUI/Help/Macro_RandomAssetProxy.pm +++ /dev/null @@ -1,16 +0,0 @@ -package WebGUI::Help::Macro_RandomAssetProxy; - -our $HELP = { - - 'random asset proxy' => { - title => 'random asset proxy title', - body => 'random asset proxy body', - fields => [ - ], - related => [ - ] - }, - -}; - -1; diff --git a/lib/WebGUI/Help/Macro_RandomThread.pm b/lib/WebGUI/Help/Macro_RandomThread.pm deleted file mode 100644 index 137024dc1..000000000 --- a/lib/WebGUI/Help/Macro_RandomThread.pm +++ /dev/null @@ -1,23 +0,0 @@ -package WebGUI::Help::Macro_RandomThread; - -our $HELP = { - 'random thread' => { - title => 'random thread title', - body => 'random thread body', - fields => [ - ], - related => [ - { - tag => 'random asset proxy', - namespace => 'Macro_RandomAssetProxy' - }, - { - tag => 'collaboration post list template variables', - namespace => 'Asset_Collaboration' - } - ] - }, - -}; - -1; diff --git a/lib/WebGUI/i18n/English/Macro_H_homeLink.pm b/lib/WebGUI/i18n/English/Macro_H_homeLink.pm index 231f63a91..5dcc6122e 100644 --- a/lib/WebGUI/i18n/English/Macro_H_homeLink.pm +++ b/lib/WebGUI/i18n/English/Macro_H_homeLink.pm @@ -8,8 +8,8 @@ our $I18N = { }, 'home link title' => { - message => q|Home Link Macro|, - lastUpdated => 1112466408, + message => q|Home Link Macro Template Variables|, + lastUpdated => 1184709588, }, 'homeLink.url' => { @@ -22,18 +22,6 @@ our $I18N = { lastUpdated => 1149217666, }, - 'home link body' => { - message => q| -

^H; or ^H(); - Home Link
A link to the home page of this site. In addition you can change the link text by creating a macro like this ^H("Go Home");.

-

NOTES: You can also use the special case ^H(linkonly); to return only the URL to the home page and nothing more. Also, the .homeLink style sheet class is tied to this macro. And you can specify a second parameter that with the name of a template in the Macro/H_homeLink namespace that will override the default template.

- -

This Macro may only be nested inside other Macros if the "linkonly" option is used.

- -

The following variables are available for use in the template:

-|, - lastUpdated => 1149217683, - }, - '47' => { message => q|Home|, lastUpdated => 1031514049 diff --git a/lib/WebGUI/i18n/English/Macro_Hash_userId.pm b/lib/WebGUI/i18n/English/Macro_Hash_userId.pm deleted file mode 100644 index 2a4153668..000000000 --- a/lib/WebGUI/i18n/English/Macro_Hash_userId.pm +++ /dev/null @@ -1,26 +0,0 @@ -package WebGUI::i18n::English::Macro_Hash_userId; - -our $I18N = { - - 'macroName' => { - message => q|User Id|, - lastUpdated => 1128838613, - }, - - 'user id title' => { - message => q|User Id Macro|, - lastUpdated => 1112466408, - }, - - 'user id body' => { - message => q| -

^#; - User ID
-The user id of the currently logged in user. -

-

This Macro may be nested inside other Macros.

-|, - lastUpdated => 1168622446, - }, -}; - -1; diff --git a/lib/WebGUI/i18n/English/Macro_Include.pm b/lib/WebGUI/i18n/English/Macro_Include.pm index 37cbed1b3..5d96db457 100644 --- a/lib/WebGUI/i18n/English/Macro_Include.pm +++ b/lib/WebGUI/i18n/English/Macro_Include.pm @@ -22,23 +22,6 @@ our $I18N = { lastUpdated => 1112466408, }, - 'include title' => { - message => q|Include Macro|, - lastUpdated => 1112466408, - }, - - 'include body' => { - message => q| -

^Include();
-Allows a content manager or administrator to include a file from the local filesystem. -

- -

Example: ^Include("/this/file.html"); -

-

This Macro may be nested inside other Macros if the included text does not contain commas or quotes.

-|, - lastUpdated => 1168622508, - }, }; 1; diff --git a/lib/WebGUI/i18n/English/Macro_International.pm b/lib/WebGUI/i18n/English/Macro_International.pm deleted file mode 100644 index 0bf7f1c63..000000000 --- a/lib/WebGUI/i18n/English/Macro_International.pm +++ /dev/null @@ -1,29 +0,0 @@ -package WebGUI::i18n::English::Macro_International; - -our $I18N = { - - 'macroName' => { - message => q|International|, - lastUpdated => 1128838702, - }, - - 'international title' => { - message => q|International Macro|, - lastUpdated => 1112466408, - }, - - 'international body' => { - message => q| -

^International();
-Pull a translated message from the internationalization system. -

- -

Example: ^International(45,"Article"); -

-

This Macro may be nested inside other Macros if the message does not contain commas or quotes.

-|, - lastUpdated => 1168622528, - }, -}; - -1; diff --git a/lib/WebGUI/i18n/English/Macro_L_loginBox.pm b/lib/WebGUI/i18n/English/Macro_L_loginBox.pm index ea538c8be..4190e7697 100644 --- a/lib/WebGUI/i18n/English/Macro_L_loginBox.pm +++ b/lib/WebGUI/i18n/English/Macro_L_loginBox.pm @@ -8,8 +8,8 @@ our $I18N = { }, 'login box title' => { - message => q|Login Box Macro|, - lastUpdated => 1112466408, + message => q|Login Box Macro Template Variables|, + lastUpdated => 1184709750, }, 'user.isVisitor' => { @@ -82,24 +82,6 @@ our $I18N = { lastUpdated => 1148963673, }, - 'login box body' => { - message => q| -

^L; or ^L(); - Login Box
-A small login form. This macro takes up to three parameters. The first is used to set the width of text boxes for entering the username and password: ^L(20);. This width is scaled by 2/3 if the user's browser isn't IE due to differences in the way that different browsers draw the text boxes. The second sets the message displayed after the user is logged in: ^L(20,"Hi ^a(^@;);. Click %here% if you have to scoot!");. Text between percent signs (%) is replaced by a link to the logout operation. The third parameter is the ID of a template in the Macro/L_loginBox namespace to replace the default template. The variables below are -available for use in the template.

- -

-NOTES:
-

-

- -|, - lastUpdated => 1168622639, - }, - '48' => { message => q|Hello|, lastUpdated => 1031514049, diff --git a/lib/WebGUI/i18n/English/Macro_LastModified.pm b/lib/WebGUI/i18n/English/Macro_LastModified.pm index 876780b37..d5406dbb9 100644 --- a/lib/WebGUI/i18n/English/Macro_LastModified.pm +++ b/lib/WebGUI/i18n/English/Macro_LastModified.pm @@ -7,30 +7,6 @@ our $I18N = { lastUpdated => 1134969093 }, - 'macroName' => { - message => q|LastModified|, - lastUpdated => 1128839043, - }, - - 'last modified title' => { - message => q|LastModified Macro|, - lastUpdated => 1112466408, - }, - - 'last modified body' => { - message => q| -

^LastModified;
-^LastModified("text","date format");
-Displays the date that the current page was last edited. By default, the date is displayed based upon the user's date preferences. Optionally, it can take two parameters. The first is text to display before the date. The second is a date format string (see the date macro, ^D;, for details. -

-

Example: ^LastModified("Updated: ","%c %D, %y"); -

-

If you would like to get the last modified time of Assets on a page, see the Date macro for an example. -

-

This Macro may be nested inside other Macros if the text it returns does not contain commas or quotes.

-|, - lastUpdated => 1170179085, - }, }; 1; diff --git a/lib/WebGUI/i18n/English/Macro_LoginToggle.pm b/lib/WebGUI/i18n/English/Macro_LoginToggle.pm index 26ca45521..4a3b530cd 100644 --- a/lib/WebGUI/i18n/English/Macro_LoginToggle.pm +++ b/lib/WebGUI/i18n/English/Macro_LoginToggle.pm @@ -8,29 +8,8 @@ our $I18N = { }, 'login toggle title' => { - message => q|Login Toggle Macro|, - lastUpdated => 1112466408, - }, - - 'login toggle body' => { - message => q| -

^LoginToggle; or ^LoginToggle();
-Displays a "Login" or "Logout" message depending upon whether the user is logged in or not. You can optionally specify other labels like this: ^LoginToggle("Click here to log in.","Click here to log out.");. You can also use the special case ^LoginToggle(linkonly); to return only the URL with no label. -

-

This Macro may be nested inside other Macros if the text returned does not contain commas or quotes.

- -

These variables are available in the LoginToggle template:

- -

toggle.url
-The URL to login or logout. -

- -

toggle.text
-The Internationalized label for logging in or logging out (depending on the state of the macro), or the text that you supply to the macro. -

- -|, - lastUpdated => 1168622690, + message => q|Login Toggle Macro Template Variables|, + lastUpdated => 1184710063, }, '716' => { diff --git a/lib/WebGUI/i18n/English/Macro_NewMail.pm b/lib/WebGUI/i18n/English/Macro_NewMail.pm deleted file mode 100644 index 5e25f44e5..000000000 --- a/lib/WebGUI/i18n/English/Macro_NewMail.pm +++ /dev/null @@ -1,29 +0,0 @@ -package WebGUI::i18n::English::Macro_NewMail; - -our $I18N = { - - 'macroName' => { - message => q|New Mail|, - lastUpdated => 1181942771, - }, - - 'new mail title' => { - message => q|New Mail Macro|, - lastUpdated => 1181942777, - }, - - 'new mail body' => { - message => q| -

^NewMail();
-^NewMail(CSS Class);
-This macro will display whether the current user has unread messages in their Inbox. If there -are no unread messages, it will return nothing. -

-

This Macro may be nested inside other Macros.

- |, - lastUpdated => 1181942878, - }, - -}; - -1; diff --git a/lib/WebGUI/i18n/English/Macro_Page.pm b/lib/WebGUI/i18n/English/Macro_Page.pm deleted file mode 100644 index 5ebe2ad92..000000000 --- a/lib/WebGUI/i18n/English/Macro_Page.pm +++ /dev/null @@ -1,29 +0,0 @@ -package WebGUI::i18n::English::Macro_Page; - -our $I18N = { - - 'macroName' => { - message => q|Page|, - lastUpdated => 1128839316, - }, - - 'page title' => { - message => q|Page Macro|, - lastUpdated => 1112466408, - }, - - 'page body' => { - message => q| - -

^Page();
-This can be used to retrieve information about the current asset. For instance it could be used to get the page URL like this ^Page("urlizedTitle"); or to get the menu title like this ^Page("menuTitle");. If the macro is called outside the context of -an asset, or if the property doesn't exist, then it returns nothing. -

-

Properties available for retrieval depend on the type of asset that is being queried.

-

This Macro may be nested inside other Macros if the property returned does not contain commas or quotes.

-|, - lastUpdated => 1168622743, - }, -}; - -1; diff --git a/lib/WebGUI/i18n/English/Macro_PageTitle.pm b/lib/WebGUI/i18n/English/Macro_PageTitle.pm deleted file mode 100644 index 46ea0e535..000000000 --- a/lib/WebGUI/i18n/English/Macro_PageTitle.pm +++ /dev/null @@ -1,33 +0,0 @@ -package WebGUI::i18n::English::Macro_PageTitle; - -our $I18N = { - - 'macroName' => { - message => q|Page Title|, - lastUpdated => 1128839334, - }, - - 'page title title' => { - message => q|Page Title Macro|, - lastUpdated => 1128839384, - }, - - 'page title body' => { - message => q| - -

^PageTitle;
-Displays the title of the current page. -

- -

NOTES:
-

-

-|, - lastUpdated => 1168622805, - }, -}; - -1; diff --git a/lib/WebGUI/i18n/English/Macro_PageUrl.pm b/lib/WebGUI/i18n/English/Macro_PageUrl.pm deleted file mode 100644 index 887e9848e..000000000 --- a/lib/WebGUI/i18n/English/Macro_PageUrl.pm +++ /dev/null @@ -1,32 +0,0 @@ -package WebGUI::i18n::English::Macro_PageUrl; - -our $I18N = { - - 'macroName' => { - message => q|Page URL|, - lastUpdated => 1128839374, - }, - - 'page url title' => { - message => q|Page URL Macro|, - lastUpdated => 1112466408, - }, - - 'page url body' => { - message => q| -

^PageUrl;
-^PageUrl(/sub/page);
-The URL to the current page (example: /index.pl/pagename). -

- -

The macro takes a single, optional argument; a URL. The URL will be appended to -the end of the page's URL. This is mainly useful when you enable Prevent Proxy Caching -in the WebGUI settings.

- -

This Macro may be nested inside other Macros.

-|, - lastUpdated => 1169588703, - }, -}; - -1; diff --git a/lib/WebGUI/i18n/English/Macro_Product.pm b/lib/WebGUI/i18n/English/Macro_Product.pm index 0e6fc2c4c..908b673f3 100644 --- a/lib/WebGUI/i18n/English/Macro_Product.pm +++ b/lib/WebGUI/i18n/English/Macro_Product.pm @@ -119,19 +119,6 @@ of the Product to their shopping cart.|, }, - 'product body' => { - message => q| - -

^Product(SKU or productId, [templateId]);
-This macro looks up a Product in the Product Manager by SKU or productId and -allows information about it to be displayed. If the SKU or productId cannot -be found, the message ^International("cannot find product","Macro_Product"); will -be displayed.

-

The macro takes one optional argument, an alternate template in the Macro/Product namespace for formatting information about the Product. The following variables are available in the template:

-|, - lastUpdated => 1149217613, - }, - }; 1; diff --git a/lib/WebGUI/i18n/English/Macro_Quote.pm b/lib/WebGUI/i18n/English/Macro_Quote.pm deleted file mode 100644 index b3bd0180f..000000000 --- a/lib/WebGUI/i18n/English/Macro_Quote.pm +++ /dev/null @@ -1,26 +0,0 @@ -package WebGUI::i18n::English::Macro_Quote; - -our $I18N = { - - 'macroName' => { - message => q|Quote|, - lastUpdated => 1128918940, - }, - - 'quote title' => { - message => q|Quote Macro|, - lastUpdated => 1112466408, - }, - - 'quote body' => { - message => q| -

^Quote();
-Use this to escape a string before using it in a database query. -

-

This Macro may be nested inside other Macros if the quoted string does not contain commas or unescaped quotes.

-|, - lastUpdated => 1168622849, - }, -}; - -1; diff --git a/lib/WebGUI/i18n/English/Macro_RandomAssetProxy.pm b/lib/WebGUI/i18n/English/Macro_RandomAssetProxy.pm index 81061331e..01c13de05 100644 --- a/lib/WebGUI/i18n/English/Macro_RandomAssetProxy.pm +++ b/lib/WebGUI/i18n/English/Macro_RandomAssetProxy.pm @@ -7,23 +7,6 @@ our $I18N = { lastUpdated => 1128918962, }, - 'random asset proxy title' => { - message => q|Random Asset Proxy Macro|, - lastUpdated => 1112315917, - }, - - 'random asset proxy body' => { - message => q| -

^RandomAssetProxy();
-^RandomAssetProxy(Asset URL);
-This macro works similarly to the ^AssetProxy(); macro except instead of displaying the -Asset, it picks a random Asset from the descendants of the Asset whose URL is supplied as the -argument.

-

This Macro may not be nested inside other Macros.

- |, - lastUpdated => 1168622873, - }, - 'childless' => { message => q|Asset has no children.|, lastUpdated => 1135101140, diff --git a/lib/WebGUI/i18n/English/Macro_RandomThread.pm b/lib/WebGUI/i18n/English/Macro_RandomThread.pm deleted file mode 100644 index cf4c9d4b1..000000000 --- a/lib/WebGUI/i18n/English/Macro_RandomThread.pm +++ /dev/null @@ -1,71 +0,0 @@ -package WebGUI::i18n::English::Macro_RandomThread; - -our $I18N = { - - 'macroName' => { - message => q|Random Thread|, - lastUpdated => 1132970060, - }, - - 'random thread title' => { - message => q|Random Thread Macro|, - lastUpdated => 1132970060, - }, - - 'random thread body' => { - message => q|

^RandomThread( [ startURL, relatives, templateURL ] );
-The Collaboration System can be used for much more than just a forum. A few examples of its -possible usages are an FAQ, photo gallery, job listings, quotes database or weblog. For these -applications (and others that you might think of) it can be nice to display a random entry -from such a CS somewhere on your site. That is exactly the functionality that this macro provides.

- -

It displays the start post of a thread that is randomly selected from a (possibly random) CS, -depending on the parameters. The way the selected post is displayed is controlled by a template. All -the template variables that are normally available in a CS Post template are available in this macro as well.

- -

Parameters

-

Although all the parameters can be omitted, it usually makes sense to specify them all. If you -want to display a random thread from a single CS, we suggest you use the URL of the CS as the startURL -and "self" as relatives.

-
-
-
startURL
-
URL of the asset you want to use as the starting point for finding a random CS. If omitted -it defaults to 'home' (i.e. the root page of most websites). Must be a valid URL within WebGUI.
- -
relatives
-
Only posts from Collaboration Systems that are relatives of the start-asset in this way -are used. Allowed values for this parameter are 'siblings', 'children', 'ancestors', 'self', -'descendants' and 'pedigree'. Default value is descendants.
- -
templateURL
-
URL of the template to use to display the random thread. Must be a valid URL within WebGUI. -

IMPORTANT NOTE: if omitted, a default debug template is used that outputs a list of all the -available template variables. Since you almost certainly will not want this output in a -production-environment, it makes sense to not omit this parameter.
-
-
- -

Examples:

-
-
-
^RandomThread(home/photo_album, descendants, templates/randomPhoto);
-
If you have a page with many subpages with photo galleries, you can use the parameters above -to easily retrieve a random thumbnail from all your photo albums.
-
^RandomThread(home/quotes/quotes-db, self, templates/randomQuote);
-
If you have one CS that you use to keep a database of interesting quotes, you could use -the above example to display a random quote on your website.
-
^RandomThread(home/faq, children, templates/faq);
-
Suppose you have one page with a couple of Collaboration Systems (for different categories -of questions), then the example above can be used to display a random question from any category.
-
^RandomThread;
-
Gets a random post from all Collaboration Systems in root 'home' with debug output.
-
-
-

This Macro may be nested inside other Macros if the post does not contain commas or quotes.

-|, - lastUpdated => 1168622915, - }, -}; - -1;