We're beginning preparations for another edition of DrupalCamp Wrocław. This time we meet on 29-31 May 2015.
Welcome to our blog page. We'd like to share knowledge of the areas that are the most fascinating to us.
This list is a handy basic tool to quickly find out how well was a Drupal webiste built. It is by no means comprehensive, as a full audit has to take into account particular websites specifics but it is a really good indicator of what you are up against. It a websites fails on many of items on this list, this should raise a red flag.
When you use code driven development on websites based on Drupal sometimes you have to create a menu or a menu item programmatically in hook_update_N. The below code snippets show you how to do that in Drupal 7.
Recently, while working on a migration to drupal I encountered a new problem with drupal database abstraction layer. It turns out that drupal dynamic select queries do not escape column names. This problem does not touch each database type, but it definitely can be problematic when it comes to mysql $query = Database::getConnection('default', 'legacy') ->select('prod_group', 'pg') ->fields('pg', array('porductid, 'active', 'order'));
Session at DrupalCamp Wrocław 2013
On Debian, apache installed from repositories, has mod_expires turned off by defauls. This seriusly increases server load. So what does mod_expires do? It "controls the setting of the Expires HTTP header and the max-age directive of the Cache-Control HTTP header"... Let me explain. The module allows apache to inform clients (eg. You browser) about the length of time a particular asset can treated as valid.