Skip to content

Default replacement for a variable

rafageist edited this page Jul 16, 2025 · 1 revision

How to define a default replacement for a specific variable? It is really simple:

Syntax in PHP

<?php
	
div::selDefaultByVar($varname, $value_to_search, $replace_with, $update);

Syntax in templates


{@ ['varname', value_to_search, replace_with ] @}

Clone this wiki locally