刚开始使用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版本。
发布于 2014-12-16 10:10:27
您需要主题文件夹中的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/目录中为主题创建一个目录。在您的主题目录中(例如webroot/application/themes/urbanic/)
https://stackoverflow.com/questions/27491365
复制相似问题