hook_view submit
hi!
A hook_view-ban szeretném megváltoztani a node megjelenítését. Ez megy is:
<?php ... function myhook_view($node, $teaser = FALSE, $page = FALSE) { $node = node_prepare($node, $teaser); $node->content['body']['#value'] .= l( t('Informacio...'),'myhookbase'); } ... function myhook_menu() { $items = array(); $items['myhookbase'] = array( 'page callback' => 'drupal_get_form', 'page arguments' => array('myhook_contact_page'), 'access callback' => 'user_access', 'access arguments' => array('access content'), ); return $items; }