addedValues Plugin

...Powerful Free! Database Expansion for Manila
logoBottle:

(1 or more words)


Get tropes here!
Click to see internals
Report bug


Knowledge Venue

sitepic_knowledgevenue.gif:
Viewable with Any Browser

Members
Join Now
Login

addedValueMacros.verbThisPage

Syntax

{addedValueMacros.verbThisPage (buttonID, condition, actionURL="")}

Examples

{addedValueMacros.verbThisPage("New Story Like this", "productStory", "")}

Semantics

VerbThisPage extends the Manila ETP form by adding another button inside a form that if submitted, POSTs the msgnum and referer to the url determined by actionaURL or buttonID. This allows fatures such as a form with a button "New Story like This" that creates a new story.

If there are errors, the macro returns an error message in a string within an HTML comment.

The macro examines the actionURL parameter and if it begins With a { and ends With a } makes an attempt to evaluate the expression, after illegal macros are neutered. This defers evaluation until the last possible moment, and since the condition may not be true, that evaluation may be omitted which is a potentially significant optimisation.

See also