Submitted by ygerasimov on Mon, 01/12/2015 - 14:51
Logstash is a great tool to centralize logs in your environment. For example we have several drupal webheads that write logs into syslog. It would be really nice to see those logs somewhere centrally to find out about your system's health status and debug potential problems.
In this article I would like to show how easy to start using logstash for local development.
Submitted by ygerasimov on Thu, 01/08/2015 - 10:19
In this article we will show small code snippet that helps you to control very granular how to render submit buttons on your forms.
Submitted by ygerasimov on Tue, 12/23/2014 - 13:38
Behat is great testing tool that there are already has a lot of documentation.
In drupal we have extension that helps us to build tests. Behat tests are configurable in yaml file (like url of your website and other options). Lately I needed to set custom cUrl options (goutte driver) and because Drupal extension 3 uses Guzzle 4 library it was not that obvious how to do that.
Submitted by ygerasimov on Mon, 12/22/2014 - 13:05
Panels standard renderer has very flexible undocumented feature of controlling the sequence of panels being rendered.
By default you have possibility to use 'render first' and 'render last' in your content type definition so you already can control what pane should be rendered for example last. Undocumented part is more interesting that is hook_panels_panes_prepared_alter() that runs after all panes were set up. So you can alter the array of panes in which way you can control sequence of panes being rendered. This feature is super handy when you have dependent panes.
Submitted by ygerasimov on Thu, 12/26/2013 - 10:54
Current project I am working on has user profiles using profile2 module. So it is pretty common task to replace all links/references on the site with user's proper name from Profile instead of his drupal username.
This is really easy to achieve using hook_username_alter()
Submitted by ygerasimov on Tue, 02/26/2013 - 23:12
Submitted by ygerasimov on Wed, 09/12/2012 - 14:00
We all know that Symfony is already in the core of Drupal 8 but how it works and how both systems work? Not that many people understand fully this integration. Me neither but I would like to pubilsh my research notes about how Drupal 8 works now. Surely this material is based on the snapshot of beginning September and I really hope that more things will happen so this information is relevant only for some time.
I don't have any real life experience of the building projects with Symfony so my knowledge is very close to majority of drupal developers.
So lets start.
Submitted by ygerasimov on Wed, 08/01/2012 - 14:24
I would like to announce fifth DrupalCamp Kyiv. Official website of the event is http://camp12.drupal.ua/en. Twitter @drupalcampkyiv #dckyiv12
Camp will be held on 14-15 September 2012 at i-Klass education center that is located in the spectacular part of old Kiev in front of Pechersk Lavra
Submitted by ygerasimov on Fri, 06/01/2012 - 13:11
Services module is a great tool for exposing API's of your website to other applications.
When we work with Services module most of of the changes can be done only in code. But sometimes clients ask to have configurable interface for GET calls we expose. For example client needs some "export" call for his another application that imports data from our site. This is where Services Views module can play its very nice role.
Submitted by ygerasimov on Mon, 12/05/2011 - 00:13
Last weekends we held great drupal event -- DrupalCamp Donetsk 2011. This is one of the places of next year UEFA EURO 2012 and it was really great place for our meetup.