You are here

29 November 2011

How to display eck form anywhere you wish, just few lines of PHP can make you a big head ache.

Source code viewer
  1. module_load_include('module', 'eck', 'eck');
  2. module_load_include('inc', 'eck', 'eck.entity');
  3.  
  4. $entity = eck__entity_create('subscriber', 'subscriber');
  5. return drupal_get_form('eck__entity__form', $entity);
Programming Language: PHP