Nats adtool replace linkcode
From TMM Wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.