English 中文(简体)
没收PhpFox的档案结构
原标题:Confusing File structure of PhpFox

我很想知道,我如何能够修改特有成员单元的布局? 我可以看到,其中一部分位于档案中模块的模板夹中。

module/user/template/<mytemplate>/block/featured.html.php

我发现的有一部分。

file/cache/template_user_template_default_block_fetaured.html.php

Does that mean I need to make changes in this second file too? If yes then it will reflect on all themes.

谁能解释PhpFox的档案和包装结构?

问题回答

You just change the first one module/user/template//block/featured.html.php

Second one is cached file, if you change first one then second one also be updated because second one is generated from first one .

if you want to know the file structure then know how to create the module first just go to this link : http://www.phpfox.com/kb/article/144/creating-your-first-add-on/

more : http://www.phpfox.com/kb/article/263/knowledgebase-article-listing/

http://stackoverflow.com/a/8677229/2151300”

But if you modify the first file, the second file will NOT be updated until you clear the chache of your website.

你可以通过两种方式清除海滩。

  1. Visit http://www.domain.tld/admincp/maintain/cache/ and click the "Clear All" button.
  2. Connect to your ftp folder and open /file/cache folder. Delete all the files (except index.html) manually.




相关问题
Working with modules in IntelliJ IDEA

As I understand, using modules allows us to control some dependencies. I mean that we can allow one module to interact with another one but not vise versa. We also can make some reusable things and ...

Module import path

I m unable to test-run a cssparser that I d like to use. test.py: from css.parse import parse data = """ em { padding: 2px; margin: 1em; border-width: medium; border-style: ...

Problem modulating action script project

I am refactoring a hugh action script solution in Flash builder (beta 2) using the flex 4 sdk. The project does NOT use the mx framework. What i want to have is: A big MAIN project several small ...

Test modules with Test::Unit

I encountered a problem when trying to test a module with Test::Unit. What I used to do is this: my_module.rb: class MyModule def my_func 5 # return some value end end test_my_module.rb: ...

Drupal section accessible by role

I need to limit access of content on Drupal site based on the Drupal User s Role. http://site.com/managers/intro http://site.com/managers/reviews http://site.com/managers/up-for-raises The ...

How to find where a function was imported from in Python?

I have a Python module with a function in it: == bar.py == def foo(): pass == EOF == And then I import it into the global namespace like so: from bar import * So now the function foo is ...

How to wire two modules in Verilog?

I have written two modules DLatch and RSLatch and i want to write verilog code to join those two.

热门标签