tinybutstrong stop showing [var.myvariable] in loaded page when variable is not set

StackOverflow https://stackoverflow.com/questions/16708192

  •  30-05-2022
  •  | 
  •  

I have an html page that is being rendered with the template engine tinybutstrong.

The problem I have found is that if I have a variable that is not set in the php file, when the page loads, it shows

[var.myvariable]

is there a way to stop this without having to declare all variables in the php file

i.e.

$myvariable = '';

有帮助吗?

解决方案

Use parameter noerr on each TBS field that you'd like to force the merging without error.

[var.myvariable;noerr]
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top