The query doesn't pull the NID. One option is changing the view to accept row plugins as the attached patch does.

CommentFileSizeAuthor
tagadelic_views.patch.txt679 byteswwhurley
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

If you need the nid, you could also add the field in your style plugin dynamically.

indytechcook’s picture

Has anyone tested this patch?

dww’s picture

Status: Needs review » Needs work

It sort of works (if you apply it, you have to manually add the nid field yourself), but it's not the right way to solve this problem. If the style plugin can alter the query, it should just grab the nid itself.

seehawk’s picture

Subscribing.

theusualsuspect’s picture

any news here? I need a tagadelic view asap, and since the upgrade to views 3 I have no view anymore. Are there any alternatives. I don't quite understand, what you mean by manually adding the nid field, dww? Can you help me out with that? You mean in the module itself?

Thanks folks.

dawehner’s picture

Add the field to the query: $this->view->query->add_field

theusualsuspect’s picture

thanks dereine, it worked.

indytechcook’s picture

@theusualsuspect patch please?

Eaglecanada’s picture

I am use it with view 3, tagadelic appears on the style. Applied the patch mentioned above, get nothing.

To dereine:

where to add this field? in View/Fields? select what field to add? global custom field?

details please! Thanks!

dawehner’s picture

@Eaglecanada
This is about adding it programmatically in the code of tagadelic.

Eaglecanada’s picture

Hi Dereine,

Thanks for your prompt response.

Which script & what line should I insert this code? tagadelic.module?