Someone
public php v1 · immutable // Get gallery vocabularies and generate a latest block for each one $ovid = variable_get('photo_gallery_official_vocabulary', 0); $terms = taxonomy_get_tree($ovid); foreach ($terms as $term) { $blocks['official_latest_'. $term->tid]['info'] = t("Photos official (latest @name)", array('@name' => $term->name)); }