concrete5无法识别主题

时间:2014-12-15 19:12:37

标签: directory themes concrete5

刚开始使用concrete5但文档需要大量工作。

我正在尝试从头开始创建一个主题并使用XAMPP在本地测试它。这是我的文件夹结构:

/
/application
/concrete
/packages
/themes (wasn't there when I installed concrete, made the dir myself)
/updates

我将主题放在themes文件夹中。其结构如下:

/css
/fonts
/img
/includes
/js
/default.php
/description.txt
/view.php
/main.css
/thumbnail.png
/typography.css

然而,主题在选项中仍然不可见。我输了。我使用的是版本7.2.1。

1 个答案:

答案 0 :(得分:1)

您的主题文件夹中需要description.txt。

在description.txt中应该是这样的:

My theme 
This is a description of my theme

我的主题'是主题的标题和主题描述下面的行 5.6版和5.7版之间的主题并没有太大变化。

来源:http://www.concrete5.org/documentation/developers/5.7/designing-for-concrete5/building-a-concrete5-theme/converting-an-html-template-to-a-concrete5-theme/

修改

不要忘记,使用新版本的concrete5,您可以将自定义主题放在:
应用/主题/

来自消息来源:

  

在webroot / application / themes /中为您的主题创建一个目录   目录。在您的主题目录中(例如   根目录/应用/主题/ urbanic /)