如何修改禅宗子主题以在其他文件夹中查找文件? [英] How to change sub-theme of zen to find files in other folders?

查看:202
本文介绍了如何修改禅宗子主题以在其他文件夹中查找文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



当我查看我的子主题的源代码时,我看到禅宗在子主题的文件夹中搜索css文件,在当前状态下查找其css文件:



/ themes / zen / elementals / css /



如何告诉它只是在/ css文件夹中搜索?



谢谢!

解决方案


  1. 查看zen主题的theme-settings.php文件。

  2. 尝试在你自己的template.php
  3. 中实现THEMEHOOK_settings()函数


Im using Zen as my base theme for creating custom themes in Drupal 6.

When I look at the source code of my sub-theme, I see that zen are searching for css files in the sub-theme's folder, at the current state it looks for its css files in :

/themes/zen/elementals/css/

how do I tell it to just search in /css folder ?

thanks!

解决方案

  1. Look at theme-settings.php file of zen theme.
  2. Try to implement THEMEHOOK_settings() function in your own template.php

这篇关于如何修改禅宗子主题以在其他文件夹中查找文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆