Forums / Cotonti / Development / Siena Beta Testing

Bugfixing and evaluation cycle started

pieter
#28303 2011-02-10 07:08
# Koradhil : the default behavior is the following sequence of finding the right tpl file:
For plugins:
1. themes/usertheme/plugins/tplfile.tpl
2. themes/defaulttheme/plugins/tplfile.tpl
3. plugins/pluginname/tpl/tplfile.tpl
For modules:
1. themes/usertheme/tplfile.tpl
2. themes/defaulttheme/tplfile.tpl
3. modules/modulename/tpl/tplfile.tpl
For core modules (currently just users):
1. themes/usertheme/plugins/tplfile.tpl
2. themes/defaulttheme/plugins/tplfile.tpl
3. system/modulename/tpl/tplfile.tpl
For admin (incl. header and footer):
1. themes/usertheme/admin/tplfile.tpl
2. themes/defaulttheme/admin/tplfile.tpl
3. system/admin/tpl/tplfile.tpl

This is a problem sometimes:
example:
In default skin I have header.home.tpl and footer.home.tpl
In second skin I don't need those.
But when you open index.php it does not take the header.tpl like it should, but the header.home.tpl from th default skin.
So for my second skin I need to copy header.tpl to header.home.tpl to avoid the problem.
Is there a solution for this?

Added 2 days later:

{LIST_TAG_CLOUD} does not work in page.list.tpl

Added 1 hour 9 minutes later:

{PHP.L.plu_tabs_pag} is not defined, but is mentioned in search.tpl (in plugins/search/tpl/)

Added 1 day later:

Is it possible {PAGE_ROW_URL} changed??

I use it in news.tpl
Before it gave the link to the page. Now it gives link to index.php?c=news (News on index)
... can we help you ...
This post was edited by pieter (2011-02-14 04:09, 13 years ago)