Issue 14125

Supporting portal Drupal by only emitting array for function all

14125
Reporter: cvizitiu
Assignee: bko
Type: Improvement
Summary: Supporting portal Drupal by only emitting array for function all
Priority: Minor
Resolution: Fixed
Status: Closed
Created: 2013-10-01 21:18:40.831
Updated: 2014-04-07 12:07:45.903
Resolved: 2013-10-15 12:25:55.215
        
Description: Simplest and quickest way: in

_npt_mendeley_list_documents('gbif_used', $name, 'block') ;


... define a new value for the last argument: as an extra to "page" and/or "block" define also "raw" and only return me an array with a known format. I'll then cycle through it and generate my HTML the way I want it.

Other option would of course to go all the way towards field_theme and block_theme so that I can write my own .tpl files where I get EXACTLY arrays except they are sometimes renderable arrays... (see for example field.tpl.php). ]]>
    


Author: bko@gbif.org
Comment: Since the portal is up and no further issues are reflected, I consider this issue is fixed. Reopen if more relevant requirements arise.
Created: 2013-10-15 12:25:55.247
Updated: 2013-10-15 12:25:55.247