Technology

Articles on open source software including Drupal, web development, and other specialist topics...

  • Configuration Entities in Drupal 8

    With the overhaul of many API's in Drupal 8, one of the new kids on the block is the configuration system with its integration with the entity API. This means that we can now define configuration entities (that work much like the regular content entities) for the purpose of managing more complex configuration. For example, a View is a configuration entity and so is a field or an image style.

    Daniel Sipos - 2014|07|14 - 0 comments
  • Bernt & co’s Drupal Gotchas Second Edition

    Half a year ago I wrote a blog post about various stumble blocks I had run into in my first year as a Drupal developer. I called them gotchas because they were not necessarily bugs - they might just be Drupal’s way of doing things which may confuse people new to or experienced with Drupal. Sometimes they are annoyances - they could be called paper cuts too. The post got some attention - which was great because people started sending me tips about things they ran into. Now there is time for a new round!

    Bernt Andreas Drange - 2014|07|03 - 1 comments
  • Just get the files you need when you develop

    5145392882_28d96c346c_b.jpg

    When you work locally on development or test on stage/dev whatever you sometimes needs the files from production. Our old way in solving that is downloading the whole file catalogue and have it local. Sometimes the file catalogues where several gigabytes large so that is not a good workflow at all.

    Mikke Schirén - 2014|04|23
  • Responsive retina sprites with compass

    Nowadays there is decent support for webfonts, so we are using less and less sprites, but if we do, we want to have a solution that responds to high resolution screens. There is a fairly easy solution if we use 1 high res inline image per icon and scale it to fit its container. But this way we'll loose all the benefits that a sprite map gives us. So how can we use sprites for different resolutions? The most common use of a sprite is as a background in a container with a fixed size.
    Andreas Sahle - 2014|04|16 - 1 comments
  • Grumpy Swedish developer gets tilted and need to change his name

    1167335643_43595d2800_z.jpg

    So we got an old windows computer setup to do the exam. Could install teh software needed, launched Sentiel to setup up my profile, and I was told to write my name to test my speed on the keyboard. So I entered my name, and “WRONG!”. Got a password error sign. Now I got confused, I was not told enter my password. But ok, so I entered my password. “WRONG”. I tried to write my name again. “WRONG”. Bullocks.

    Mikke Schirén - 2014|04|04 - 0 comments
  • Adding a pseudo field

    2585054407_d7d0f1fd7b_b.jpg

    Sometimes you need to display a field that have no input, like a static text or image on each node, or a Facebook like button, or whatever that does not have an input, but you still want to display it as a field, for that you have the hook hook_field_extra_fields.

    Mikke Schirén - 2014|04|02 - 4 comments

Pages