WebsiteBaker Community Forum

WebsiteBaker Support (2.12.x) => General Help & Support => Topic started by: henri on November 30, 2018, 01:16:17 PM

Title: Template name WB 2.12.1
Post by: henri on November 30, 2018, 01:16:17 PM
It is true that in WB 2.12.1 in the template name no hyphen and numbers can be used.
These characters could be applied in the previous versions.

Now I get an error message of invalid characters
[159] Template directory /template-1/info.php not exists or has invalide chars

If I change the name to templateone, I will not receive an error message
Title: Re: Template name WB 2.12.1
Post by: Luisehahne on November 30, 2018, 01:36:46 PM
It is true that in WB 2.12.1 in the template name no hyphen and numbers can be used.
These characters could be applied in the previous versions.

Now I get an error message of invalid characters
[159] Template directory /template-1/info.php not exists or has invalide chars

If I change the name to templateone, I will not receive an error message

Only first Character shouldn't be a number. The regex ist [a-z_][a-z0-9_]. You change e.g. to template_one or TemplateOne

Dietmar