Artyom Mezin

Results 163 comments of Artyom Mezin
trafficstars

@nsams How to use `trl` and `trlKwf` function in such situations? Both of them returns one language.

> I don't understand your question - what exactly is your problem? `trl` functions isn't working just because user not logged in. But I can get authorized user's language from...

@nsams >I see. Use `Kwf_Trl::getInstance()->setTargetLanguage` Doesn't work. No such method: ```php Fatal error: Call to undefined method Kwf_Trl::setTargetLanguage() in C:\OpenServer\domains\aviashelf\controllers\Sender.php on line 39 ``` I also tried: ```php Kwf_Trl::getInstance()->setUseUserLanguage(false); Kwf_Trl::getInstance()->setWebCodeLanguage('en');...

> But I don't understand what difference a setSelect should make for ShowSelect. I can't easilly set `setSelect` as in `Kwf_Form_Field_Select`, I need to write more code for each `Kwf_Form_Field_ShowSelect`...

> Ok, I understand now. Should easy to fix. Which branch do you need this in? I'm still on 3.8 branch because https://github.com/koala-framework/koala-framework/issues/344 :D > you can also use ->setReference('Spec')...

Oh... I found a bug: ``` php exception 'ErrorException' with message 'Call to a member function __toString() on null' in C:\OpenServer\domains\aviashelf\vendor\koala-framework\koala-framework\Kwf\Form\Field\ ShowSelect.php:42 ``` That's because some values is `NULL` in...

> Ok, I understand now. Should easy to fix. Which branch do you need this in? Do you want to add this patch or not? =) After that we can...

Ok, I found how to increase this thing, need to set timeout to Ajax request: ```js Ext2.Ajax.request({ url: controllerUrl + '/my-controller-func', params: Ext2.apply(baseParams, form.getForm().getValues()), timeout: 600000, // 10 minutes ```...

Some info: https://docs.sencha.com/extjs/2.3.0/#!/api/Ext.grid.GroupingView Line: ``` javascript sortInfo:{field: 'company', direction: "ASC"}, ``` From `GridPanel.js`: ``` javascript if (meta.grouping) { var storeType = Ext2.data.GroupingStore; storeConfig.groupField = meta.grouping.groupField; storeConfig.remoteGroup = meta.grouping.remoteGroup; delete meta.grouping.groupField;...

Now I did it in this way: ``` php protected $_defaultOrder = array('field' => 'month', 'direction' => 'DESC'); protected $_grouping = array( 'groupField' => 'year', 'noGroupSummary' => true, 'remoteGroup' =>...