Closed (fixed)
Project:
View reference
Version:
6.x-2.14
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2009 at 03:16 UTC
Updated:
27 Jun 2009 at 14:10 UTC
This module's "home page" explains technical reasons why it's different than viewfield or insert_view. Could you expand on why these matter?
I am not familiar enough with the Drupal API/paradigm to understand why this is better. I gather this module works in more of a "reference" fashion like pointers and reference object types in many OO languages. But it's not clear from a practical perspective how your implementation is better or different than viewfield or insert_view. In what situations would I prefer your module?
Comments
Comment #1
danielb commentedI guess unless you plan to make additional manipulation via custom modules and themes, you might not particularly care how the data is actually stored.
The practical differences are immediately obvious from the interface, especially in the way that multiple values are treated. You can use autocompletes to find the actual view which may be beneficial if you have a lot of views. There is also the ability to provide arguments per each referenced view by delimited lists and PHP code. Additionally if a View provides several displays - each may be chosen seperately.
From what I gather Viewfield handles multiple values, and multiple displays, in a very different way, and rather than provide PHP abilities it uses Tokens (which many people prefer). Insert View is different again because it lets you paste macros in fields that are not specifically designed to show Views, and in places other than nodes.
Comment #2
aren cambre commentedThank you. Your explanation is helpful. Could I suggest adding this to the module's home page?
Comment #3
danielb commentedI am thinking of creating a page here http://drupal.org/node/266179 but I will need some time to try out the similar modules to make sure I am being accurate about exactly what the difference is.
Comment #4
danielb commentedHere is a list of links I should go through before writing the article.
http://drupal.org/project/insert_view
http://drupal.org/project/viewfield
http://drupal.org/project/embed_views
http://drupal.org/project/viewreference
http://drupal.org/project/views_embed
http://drupal.org/project/views_attach
http://drupal.org/project/nodereference_views
http://views-help.doc.logrus.com/help/views/embed
http://stackoverflow.com/questions/247991/displaying-a-drupal-view-witho...
Comment #5
danielb commentedWell I didn't get enough material to really warrant a page, so I just did as you first suggested and updated the project page.
Also my information about Viewfield handling multiple values differently was outdated, they have now updated to use the same method as this module.
Comment #6
aren cambre commentedThank you.
Comment #7
aren cambre commentedInsert View links to viewfield.
Comment #8
danielb commentedcheers