簡體   English   中英

joomla html模塊覆蓋不起作用

[英]joomla html module overriding doesn't work

我的覆蓋結構是:

template_name/html/mod_menu/tmpl/default.php

但是joomla仍在獲取核心模板,而不是這個,為什么會這樣呢?

也可能是這個錯誤以某種方式相關:

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/targetcode/domains/powergeek.ru/public_html/test/templates/temgaz/css/index.html/) is not within the allowed path(s): (/home/targetcode/domains/powergeek.ru/:/home/targetcode/phptmp/:/tmp:/usr/local/php5/lib/php) in /home/targetcode/domains/powergeek.ru/public_html/test/administrator/components/com_templates/models/template.php on line 111

joomla 3.2版(最新穩定版)

是的:

public $log_path = '/home/public_html/test/logs';
public $tmp_path = '/home/public_html/test/tmp';

我已經寫了log和tmp var來避免該錯誤,但是並沒有幫助

我在模板頁面中看到這個,有什么想法嗎???

創建模板替代時, 請勿使用tmpl文件夾。 default.php后移1個文件夾。 所以它看起來像這樣:

template_name/html/mod_menu/default.php

希望這可以幫助

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM