View Issue Details

IDProjectCategoryView StatusLast Update
0001816OXID eShop (all versions)4.07. Source code, Testpublic2012-12-10 13:45
Reporterwurzelpete Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.3.1 revision 27257 
Fixed in Version4.3.2 revision 27884 
Summary0001816: when using an override theme the system falls back to the basic theme first even though a custom theme is set
DescriptionI 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 InformationAdding 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.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

birute_meilutyte

2010-05-10 09:24

reporter   ~0002710

@developers: check this issue from source code side. looks like it is related to https://bugs.oxid-esales.com/view.php?id=1531 fix

arvydas_vapsva

2010-05-17 14:17

reporter   ~0002875

allready fixed in current version