WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Template name WB 2.12.1
  • Print
Pages: [1]   Go Down

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

Offline henri

  • Posts: 148
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
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Template name WB 2.12.1
« Reply #1 on: November 30, 2018, 01:36:46 PM »
Quote from: 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

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
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Template name WB 2.12.1
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2