View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001683 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2010-03-05 12:08 | 2010-09-23 09:33 |
Reporter | joshua | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.2.0 revision 23610 | ||||
Fixed in Version | 4.4.3 revision 30016 | ||||
Summary | 0001683: Dyn-Navigation not loaded correctly when using other language than English as second language in Shop | ||||
Description | The dynamic navigation entries from admin.oxid-esales.com cannot be loaded in Shop-Admin when using a different language than English as second language in shop. The url for the external sources from oxid website looks like this: admin.oxid-esales.com/<shop-version>/<countrycode>/... The countrycode var is returned by oxadminview::_getCountryByCode(), in this method there is a sql statement that selects the value of field oxtitle_1 from country table by given isoalpha code. This method assumes that language with id 1 is always English, so that the result is either "germany" or "international". In our case this language is Dutch, so the result is always "Duitsland" which leads to an url like admin.oxid-esales.com/EE/duitsland/ - and of course, this resource doesn't exist, so there's no "E-Commerce Services" and "eFire" - Navigation, nor is the frame on bottom of navigation frame and content frame loaded. I made a module for oxadminview, but this only works for the left side navigation, the frames are still not correctly loaded. For the frames the service url is called in templates using $oViewConf->getServiceUrl(), this var is filled by oxadminview::_getCountryByCode() but before the modules is loaded, so there's no chance of changing this by module. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0001874 | resolved | vilma_liorensaityte | Online Help is not found when Admin language ID is not 0 or 1 |