Difference between revisions of "Nats adtool replace linkcode"
From TMM Wiki
Jump to navigationJump to searchm |
TMMStephenY (talk | contribs) m |
||
Line 56: | Line 56: | ||
== Notes == | == Notes == | ||
None. | None. | ||
+ | |||
+ | [[Category:NATS4 Template Functions]] |
Latest revision as of 15:40, 20 May 2011
adtool_replace_linkcode
Replaces {$link} with an arbitrary value.
Alias: adtool_replace_linkcode
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
tpl | Template used to display output | Any valid template | The function_adtool_replace_linkcode template | tpl="my_template" |
subject | String possibly containing {$link} | Any string | None. | subject="my {$link}" |
replace | The text {$link} should be replaced with | Any string | None. | replace="my replacement |
replaceinto | Variable to store replacement output | Any valid Smarty variable name | None. | replaceinto="my_variable" |
data_only | Set variables but don't display the template | 1 | None. The template is displayed. | data_only=1 |
Output
No output. Result of replacement stored in the variable set by the replaceinto variable.
Notes
None.