I am sorry about my very basic english. Thanks you very much for this module, because it is module i am looking for. I would like to please you about enhace this module:

1) Please add arguments field
2) Allow to fill argument with NID automatically
3) Change select from ommited views to allowed views

Thanks for your time and reaction.

Tom

Comments

danielb’s picture

Category: task » feature

To be honest, I've kind of made a decision not to have any fields for manually specifying arguments. I don't mind passing args through from the url (does it do that already??) but you can already use something like the insert_view module if you really want to get tricky and do that sort of thing.

Really the philosophy of this module was to store the drupal view as an integer. Seems weird and abstract - but this was in keeping with nodereference/userreference and those sorts of modules. The reason being that I can then make other modules that can use nodereference, userreference, and viewreference in the exact same way and treat the references as drupal 'objects' - changing just one of these modules to include extra fields really puts a spanner in the works for that plan.

It may be possible to extend this module to do what you want, but I've got a feeling insert_view and viewfield are a couple modules that might already cover that. If you get back to me and say they don't do what you want, well maybe that will motivate me to build a plugin to this module.

I am considering changing the config from omit view to allow views - it seemed like a smart idea at the time, but now it's just confusing.

trofimchouk’s picture

Hello!
Here is an example:
I have content type Book with fields Title, Description, Table of content.
I want to get a list page like:
title1 - link to decription_view with node_id argument - link to table_of_content_view with node_id argument

Where the decription_view is: title, description, link to table_of_content_view with node_id argument
and the table_of_content_view is: title, link to description_view with node_id argument, table of content.

So there is two "crossed" views and no whole node output.
Without the argument handling I will have to use simple link to whole node on my list page. And this is not good for me.

I'm sure that adding argument handling to your module or porting viewfield to Drupal 6 will be appreciated.
Sic! Viewfield module is great, but it is only for Drupal 5 unlike your one.

danielb’s picture

Am considering a redesign of this module for the next major version and I might include some more options such as this in the future.

danielb’s picture

Status: Active » Fixed

I have added arguments support in v6.x-2.0

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.