Nats adtool replace linkcode
From Tmmwiki
adtool_replace_linkcode
Replaces {$link} with an arbitrary value.
Alias: adtool_replace_linkcode
Contents |
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.