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