Tag Drupal

Highloaded php scripts with realtime web client control

Lets imagine we have huge pool of data to process, e.g. 100 000 lines report & user needs to be able fetch result of this job by browser donwload interface.

26 Oct 2015 02:00:14

Drupal. Text filter example

Text processor filter creation code.

15 Sep 2013 18:21:14

Impelement custom entity view mode

To provide custom entity view mode you need to implement entity_info_alter_hook

15 Sep 2013 18:18:23

Implement custom field formatter

Drupal formatters provide field value representation as renderable array, it can be configured via content type (or some another fieldable entity_type) display settings interface. I.e. you can choose different formatters for each field of certain entity view_mode & transfer settings via features module to another instance.

15 Sep 2013 16:33:40

Drupal . Lightweight highlight menu links by path mask, entity type & bundle rule functional.

I used menu_position Drupal contrib module for this task but it has a lot of buggs related to features transfer across multiple server instances. So we decided to implement lightweight logic with hardcoded menu rules to highlight specified menu link regarding path mask, entity type and bundle rule settings.

29 Jul 2013 01:11:07