View Issue Details

IDProjectCategoryView StatusLast Update
0001763OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:16
ReporterOliver Storm Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Fixed in Version4.3.1 revision 27257 
Summary0001763: sCustomTheme does not work with a subshop
DescriptionHai,

// Custom theme, a directory in out/ folder containing only modified template files
$this->sCustomTheme = null;

how could I define a Custom theme for a subshop? So sCustomTheme works only with the mastershop (?)

Rgds
Olli
TagsSubshops
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

alfonsas_cirtautas

2010-04-14 07:26

reporter   ~0002524

CustomTheme is global config parameter whitch defines directory name in 'out' forder, but one custom theme can contain different templates for each subshop, if proper directory structure is maintained.

if template file in not found in deepest (language) level, then it looks for it in shop level, if still not found in parent shop level then in theme level.

/out/custom/tpl <- templates for all shops
/out/custom/2/tpl <- templates for subshop 2
/out/custom/2/de/tpl <- templates for subshop 2 in german language

alfonsas_cirtautas

2010-04-14 07:27

reporter   ~0002525

If template is not found in custom theme, same procedure in used to locate it on default 'basic' theme.