Hello,

I'm real glad to come across to this module, seems exactly what I was looking for! Wasted good amount of time messing around with actions, rules and triggers only to find out this neat module existed.

Anyhow, there is something that I feel falls into feature request category - do correct me if I'm wrong - basically I'd like to have a field for "Discuss this!" in Views. Maybe I completely missed something obvious but looks like there's no such option, still very much learning all things Drupal so it's entirely possible!

I did manage to come up with something using "custom text" to create a custom link for discussthis/new/[nid]. Works like charm, new forum topic is created and hey, what do you know, it doesn't even create duplicate but intelligently offers reply. Good work on the module! Still, using this way I'm missing the dynamic linking of "Discuss this! / Participate in this discussion! (n new/n total)"...

Again, I looked around a bit and found http://drupal.org/project/views_customfield which allows use of custom PHP code. Before looking properly into it, could this be used to create a such dynamic link? That might make this a support request.

Thanks for the great work.

Comments

AlexisWilke’s picture

Hi jussi,

I do not know anything about views_customfield. It may actually be adding a custom field to each entry which is probably not what you want.

In views, you could add a link in the footer (<a href="...">Discuss this</a>). That link would take your users to the forum discussing that view.

Now, my linux page:

  http://linux.m2osw.com

uses a view and has a "Discuss this!" at the bottom. I have done that by creating a page and then including the view with the [view:name] tag. That's another free project:

  http://drupal.org/project/insert_view

There is also this one:

  http://drupal.org/project/viewfield

but that's not as easy to place the view exactly where you want it to be (i.e. CCK can be at the top or bottom only!)

Thank you.
Alexis Wilke

jussi’s picture

Ah, good call on the footer, I had totally missed that and will probably be using that some way if not for this particular case. :)

On custom field option: a field for each entry seems to fit the bill, actually. Now the question is, how can one use the module's existing functions for printing alternatively "Discuss this!" / "Participate in this discussion! (n new/n total)" / + others?

Would this talk be better suited for forum?

AlexisWilke’s picture

For that functionality, use this one, like me:

http://drupal.org/project/insert_view

Create a node, and enter [view:<name>] to insert the view in that node. Then the discuss this appears on that node.

Thank you.
Alexis Wilke

texas-bronius’s picture

jussi- did you ever find a suitable solution to your original request? It sounds like you wanted Views to expose a field category of, say, "discussthis" which would contain in it at least one field that mimics the current "Full Node" view where DiscussThis attaches to a node. Is this correct? And if so, were you able to replicate it, or does the original feature request still stand?

AlexisWilke’s picture

Texas-bronius,

Are you saying that you'd need the link at the bottom or a way to insert something that the discussthis module generates in an actual view?

The proposed solution has one drawback, it does not let you have dynamic arguments to your view (i.e. the [view:...] tag is rather static.)

Thank you.
Alexis

texas-bronius’s picture

Alexis-
Yes, I was hoping to build a View of books with "discuss this!" links alongside each book: Just like in node view, if the book had a discussion, it should instead have the "Participate" verbiage.

I think the original poster had a good idea to generate a custom field with some php, but before diving into that, I wanted to hear whether jussi had licked that already or not, whether we even had the same requirement, and whether there was a better way about it.

Thanks!
-Bronius

BeaPower’s picture

Any updates? I too am looking for this solution.

AlexisWilke’s picture

I don't have the time, unless someone can afford my services, to add this feature. Or maybe someone else would propose a patch?

Thank you.
Alexis Wilke

dom.’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Module maintainer has changed. I'm closing this issue after years of inactivity, please open a new issue if needed.