Author Topic: Template name WB 2.12.1  (Read 236 times)

Offline henri

  • Posts: 134
Template name WB 2.12.1
« 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

Online Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4248
  • Gender: Male
    • Webdesign und Entwicklung WebsiteBaker
Re: Template name WB 2.12.1
« Reply #1 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
Immer nur von der Zukunft reden, die Gegenwart vergessen und auf die Vergangenheit schimpfen
Neues Unwort: Schnappatmung