View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005601 | OXID eShop (all versions) | 3. ----- eShop theme - Azure ------ | public | 2014-01-12 13:59 | 2014-01-13 09:20 |
Reporter | Mitmacher | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Product Version | 4.8.1 / 5.1.1 | ||||
Summary | 0005601: Missing theme switcher in Azure? | ||||
Description | If you have installed oethemeswitcher than it overrides the block "layout_page_vatinclude" in "layout/page.tpl" to include a large (orange) button at the top for switching to mobile. Unfortunately that doesn't work because there seems to be a little mistake in "theme_switch_link.tpl": [{if $oUserAgent->getDeviceType() == 'mobile' }] That should be: [{if $oUserAgent->getDeviceType() == 'desktop' }] and the button will be shown as obviously wanted... :-) | ||||
Tags | No tags attached. | ||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Further it may be better to use "[{$oView->getLink()}]" instead of "[{oxgetseourl ident=$oViewConf->getSelfLink()}]" in both switching forms to keep the user in the current context. Otherwise he will be redirected to start each time. |
|
Oh dear, I was totally wrong with this bugreport, sorry! Of course the mentioned button in Azure should be shown only if you are using a smartphone and want to switch back to Mobile. Thanks to nickname for clearing this point in the forum! :) |