Drupal 6 - Views2 - How to Create a View of Non-Nodes

I need to create representations in drupal non-nodes, in fact objects are external to drupal. The api that I call passes me the stdClass object.

Does anyone have any ideas on how to get Views2 to display node objects?

+3
source share
5 answers

My understanding of opinions 2 is that it is designed to work with information stored in a database.

If you do not have access to the database from which the API was written, consider how to write the objects returned by the API to the table. The easiest way would be to create nodes from objects. You can then access them using Views 2.

, Stream Acitivity (http://drupal.org/project/activitystream). , API. , :

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/activitystream/activitystream.module?view=markup

, , . , Views 2, CiviCRM v2.2.3, :

http://svn.civicrm.org/civicrm/trunk/drupal/modules/views/

CiviCRM - Drupal, Drupal, . Drupal.

, .

- .

+5

3 roadmap, Views , SQL. API Flikr .

+1

6.x-1.x-dev. VBO . hook_object_info. , !

+1

Views are built exclusively for working with + CCK nodes. If you want to create presentations for custom pages, you will need to copy some additional module pages + themes.

-1
source

Source: https://habr.com/ru/post/1709033/


All Articles