Artyom Mezin
Artyom Mezin
@yacon, Is there good news about the problem?
I tried this method today: https://www.sencha.com/forum/showthread.php?13898-Is-there-any-way-to-keep-scroll-position-of-Grid-on-load&p=69851&viewfull=1#post69851 Without any success :grin: Also if I change only one row, the whole grid (3000 rows) is reload... horrible
Where to store such scripts? In `app` folder? Do I need to put additional lines in script, like this: ``` php
> like any other controller (autoform or autogrid) It's not form or grid, just system commands and DB access (like Cli controller). So I need to extend `Kwf_Controller_Action`?
Ok, I created resource in `Acl.php`: ``` php $this->add(new Zend_Acl_Resource('telegram_hook')); $this->allow(null, 'telegram_hook'); ``` And some code in file: ``` php
@nsams I found my new dep in `autoloader_psr4.php`: ``` php return array( 'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'), 'Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'), 'Symfony\\Component\\Finder\\' => array($vendorDir . '/symfony/finder'), 'Symfony\\Component\\EventDispatcher\\' => array($vendorDir...
> There is an easy workaround though: use the composer autoloader: Will not conflict with already loaded psr0 dependencies? > require_once 'vendor/autoload.php'; I'm on many levels deeper :D What constant...
> I don't think so - the current working directory is relevant here - not the path the current file is located. Yes, it's working as you said, but I...
> see http://stackoverflow.com/questions/7378814/are-php-include-paths-relative-to-the-file-or-the-calling-code As I understand, all php-files in `controller` folder are includes from root folder's `bootstrap.php`? Due to this we can connect `vendor/autoload.php` without full path. Please help me...
Ok, I did it with adding: ``` php use Kwf_Model_Abstract; ``` So I need to add this line to each command file where I want to use KWF features. Maybe...