drupal planet

I had a case recently, where I needed to add custom data to the node display and wanted this data to behave like a field, however the data itself didn't belong to a field. By "behaving like a field" I mean you can that field at node display settings and able to control it's visibility, label and weight by dragging and dropping that field.

So, as you may have undestood, hook_preprocess_node / node_view_alter approach alone wasn't enough.

I'm a big fan of fighting with Drupal's inefficiencies and bottlenecks. Most of these come from contrib modules. Everytime we install a contrib module we should be ready for surprises which come on board with the module.

Drupal Views offers us a cool feature: ajaxified pagers. When you click on a pager, it changes the page without reloading the main page itself and then scrolls to the top of the view. It works great, but sometimes you may encounter a problem: if you have a fixed header on your page (the one that stays on top when you scroll the page) it will overlap with the top of your view container thus scroll to top won't work preciselly correct and the header will cover the top part of your view.

Let's Drup Up The Week. Issue 13

Submitted by Tim on Mon, 2013-12-30 14:44

This is the 13th issue of the weekly Drupal news round-up and the last one in the year 2013. The last week was pretty silent and it was hard to find something interesting, but in the end I've managed to dig some Drupal gold for you. Today will be no dessert, because of the sad events happening in my country of origin.

Wish you all a Happy New Year! Be healthy and happy, the rest is not so important. Let's Drup Up The Week!

Let's Drup Up The Week. Issue 12

Submitted by Tim on Mon, 2013-12-23 14:36

Ho ho ho! 12th issue of the weekly Drupal roundup "Let's Drup Up The Week" is out! This pre-Christmas issue is packed with tutorials and useful Drupal 8 tips including blocks, forms and pages in D8, storing geo data in Drupal, doing tests with CasperJS, PHPStorm tricks, Drupal snippets and more!

Let me wish everyone Merry Christmas, don't work a lot during the week and have more fun ;) and... Let's Drup Up The Week now!

Let's Drup Up The Week. Issue 11

Submitted by Tim on Mon, 2013-12-16 15:29

This is the 11th issue of my weekly Drupal roundup "Let's Drup Up The Week". In this issue you'll find out how to: sync sites with Drush, add pseudo fields to nodes and entities, setup PHPStorm and XDebug, get a list of resources to get started with Drupal 8, learn twig templating system and more!

If you want to receive this weekly roundup as an email newsletter, sign up via the form below. Have a nice read!

Let's Drup Up The Week. Issue 10

Submitted by Tim on Mon, 2013-12-09 13:15

Today we have a little anniversary: today is 10th issue of the weekly Drupal news roundup "Let's Drup Up The Week"! And this week, everything is small and simple: not much material and all tutorials are small, quick and simple like creating a drush command or image gallery for Drupal 7. Have a nice read and don't forget to subscribe for email edition of this roundup. Let's Drup Up The Week!

Let's Drup Up The Week. Issue 9

Submitted by Tim on Mon, 2013-12-02 16:17

There are so many useful Drupal tutorials and information in the 9th edition of my weekly Drupal round-up, that you can easily spend a week reading all this! Here are the main highlights: porting theme to D8, creating custom field formater for D8, XDebug, drush and theming tricks and, of course, selected Drupal snippets. In the end, as always, Le Dessert. If you want to receive this weekly Drupal news roundup via email just subscribe via the form below! Let's Drup Up The Week!

Let's Drup Up The Week. Issue 8

Submitted by Tim on Mon, 2013-11-25 12:54

The 8th issue of the weekly Drupal news roundup is out! In the issue: new versions of Drupal 6, 7 and 8, performance tips, recruiting tips, drupal snippets, tutorials and award winning music video for the dessert. Enjoy and let's drup up the week!

Let's Drup Up The Week. Issue 7

Submitted by Tim on Mon, 2013-11-18 13:42

Another week has started and it's time to wrap up the previous one and warm up for the new week of Drupal. Today's issue is fairly rich on tutorials and techniques including responsive iframes, faster auto-completes, multithreaded migrations and more! At the end as always you'll find Le Dessert, today it's the shortest film evern nominated for an Oscar and the subscription form, remember, you can always subscribe and get this weekly roundup via email. So fasten your coffee cups, Let's Drup Up the Week!

Pages

Subscribe to drupal planet

You are here