View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001816 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2010-05-07 18:16 | 2012-12-10 13:45 |
| Reporter | wurzelpete | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Product Version | 4.3.1 revision 27257 | ||||
| Fixed in Version | 4.3.2 revision 27884 | ||||
| Summary | 0001816: when using an override theme the system falls back to the basic theme first even though a custom theme is set | ||||
| Description | I couldn't reproduce this with the basic 4.3.1 theme, but the custom theme I was using had this problem. I set the sTheme to the fully configured (but imported from 4.1.x) custom theme and created an override theme folder that I also enabled by setting the sCustomTheme variable in the config.php.inc The sCustomTheme Folder was still empty. The system now started loading files from the out/basic folder instead of the sTheme folder. I found out that the reason for this was the line 266 in oxutilsview.php: $aTemplateDir[] = $myConfig->getOutDir()."basic/tpl/"; | ||||
| Additional Information | Adding the following line above line 266 in the oxutilsview.php fixed the problem: $aTemplateDir[] = $myConfig->getOutDir(). $myConfig->getConfigParam('sTheme') . "/tpl/"; As I said I couldn't reproduce the problem when using the default basic theme as custom theme (in a different folder, else the mistaken loading of the basic folder contents wouldn't be able to be tracked), still even a custom theme shouldn't make the system fall back to the basic theme folder before trying the folder set in sTheme. Thank you for your time. | ||||
| Tags | No tags attached. | ||||
| Theme | |||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||
|
|
@developers: check this issue from source code side. looks like it is related to https://bugs.oxid-esales.com/view.php?id=1531 fix |
|
|
allready fixed in current version |