View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002625 | OXID eShop (all versions) | 4.06. Language and translations | public | 2011-03-17 16:26 | 2011-03-22 15:04 |
Reporter | wanis | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 4.5.0_beta4 | ||||
Summary | 0002625: changing charset in view is not posible | ||||
Description | there is oxView::getCharSet() function and oxView::$_sCharSet variable implemented, but if i write module for these, or write new view, charset is not changed in fronted, as in oxShopControl::_process() charset is taken like this: [code] // #M1047 Firefox duplicated GET fix $myUtils->setHeader( "Content-Type: text/html; charset=".oxLang::getInstance()->translateString( 'charset' ) ); [/code] my suggestion is to use $oViewObject and implemented functions. so result will be like this: [code] // #M1047 Firefox duplicated GET fix $myUtils->setHeader( "Content-Type: text/html; charset=".$oViewObject->getCharSet() ); [/code] also same bug in oxAdminView::addGlobalParams line 0000337:0000211 [code] $this->_aViewData['charset'] = $oLang->translateString( 'charset' ); [/code] should be changed to: [code] $this->_aViewData['charset'] = $this->getCharSet(); [/code] | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||