0

我想自定义主题 在addons-> themes-> myprojectname中我保留了css,img,js,views,theme.php和我激活了主题所述pyrocms自定义pyro cms - > css和js不工作

1)在控制面板上的,则须─> partials-> meta.html我遵守了这样

{{ theme:favicon file="favicon.ico" }} 

{{ theme:css file="style.css" }} 

{{ theme:css file="cake-debug.css" }} 

{{ theme:css file="global.css" }} 

{{ theme:css file="jquery-ui.css" }} 

我的网页,即,视图是在模块,但此CSS是不施加到我的页面,但页面。

!)这个网页是不是一个热电CMS主题页面,它重命名为.php然后放在你可能有单独在CSS文件夹中的图像和js文件的视图

回答

0

的.html页面。尝试像这样

{{ theme:favicon file="img/favicon.ico" }} 

{{ theme:css file="css/style.css" }} 

{{ theme:css file="css/cake-debug.css" }} 

{{ theme:css file="css/global.css" }} 

{{ theme:css file="css/jquery-ui.css" }}