View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002585 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2011-03-05 06:44 | 2012-12-10 14:38 |
Reporter | avenger | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 4.4.7 revision 33396 | ||||
Fixed in Version | 4.5.2 revision 38481 | ||||
Summary | 0002585: User theme not set as template directory | ||||
Description | Always "basic" scheme ist used as template directory, ignoring a userdefined different basic scheme. In "protected function _fillCommonSmartyProperties" in "oxutilsview.php" always the "basic" theme is assigned as Smarty template dir instead of the user's theme. After the correct assignment of the template dirs with $sTplDir1 = $myConfig->getTemplateDir( $this->isAdmin() ); $sTplDir2 = $myConfig->getOutDir() . $myConfig->getConfigParam('sTheme') . "/tpl/"; $aTemplateDir = array($sTplDir1); if (!$this->isAdmin() && $sTplDir1 != $sTplDir2) $aTemplateDir[] = $sTplDir2; the code contains 2 totally superfluous and wrong reassignments, which need to be deleted: $aTemplateDir = array($myConfig->getTemplateDir( $this->isAdmin() )); $aTemplateDir[] = "/htdocs/oxideshop/eshop/source/out/basic/tpl/"; $aTemplateDir = array($myConfig->getTemplateDir( $this->isAdmin() )); $aTemplateDir[] = $myConfig->getOutDir()."basic/tpl/"; | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||