I've made a nodequeue with a few nodes, that I would like to show on the frontpage in a tableview.
The problem is that there seems to be no integration with Views on my site. That is, I don't see a default system view for the nodequeue and i only see some items associated with nodequeue in the arguments list of a view, but nothing in the filter list.
I've made a block with the php-code 'print nodequeue_node_titles(QUEUEID)' and that works fine, but I really would like a block with the table view instead of a list.
I've uninstalled and installed the nodequeue-module, cleared the views-cache, etc., but nothing changes.
Any ideas?
Comments
Comment #1
merlinofchaos commentedhmm. Try clearing the views cache?
Comment #2
henkiejan commentedSorry, no. Done that already.
Could it have to do with my use of a database tables prefix? The uninstall function wasn't working correctly for that reason and I have no idea if the install-function or nodequeue.views.inc don't have a same problem.
Thanks,
Erik.
Comment #3
merlinofchaos commentedI can't think how that would be related, but I don't know. I can't imagine any reason why the nodequeue views information might not be showing up for you, though. I've never heard of this being a problem for anyone else. Hmm. This is going to be difficult for me to figure out, too, since it works fine on all my systems. :/
Comment #4
henkiejan commentedI've installed version 1.2 and the problems are solved! So it has something to do with a change between 1.2 and 2.0.
Perhaps I'll have a close look in the changes later, but for the moment I'm satisfied.
Thanks anyway for your help,
Erik.
Comment #5
merlinofchaos commentedI guess that 'fixes' the issue, though it's weird. No one else has reported broken views integration.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #7
henkiejan commentedSolved it by.... changing the module weight from 0 to -1 !
This indicates that another module with weight '0' and name before 'nodequeue' is interfering the hook_init.
Remains figuring out which module and why...
Erik.
Comment #8
ezra-g commentedHeine provided a thorough description of this issue at #268347: nodequeue.views.inc not included when building table cache under rare conditions.
Comment #9
jasonwhat commentedI'm seeing this error. I go to edit my view and have no nodequeue info available. Any ideas what I can do? How do I change the weights of modules?
Comment #10
jasonwhat commentedNevermind. You need to use the "relationship" field in the new version of views and then you are golden.
Comment #11
jmlavarenne commentedI am having a similar issue. I remember, probably from Drupal 5, that the nodequeue id was available as a views argument. Is this an option that has been removed and replaced by relationships? It seems this would require building displays for each nodequeue.
Comment #12
jmlavarenne commentedDouble post.
Comment #13
amateescu commented@Jupiter, does this help you? http://drupal.org/node/917848#comment-4537368
Comment #14
jmlavarenne commentedThis seems like a clever workaround in some situations. What you are doing is providing a fake argument placeholder with the taxonomy term, but then overrinding the value with the queue id that is passed in the url, hence using the default view that the nodequeue module provides, right?
But I want to embed the view (views_embed_view) and would like to pass the view id as argument, like I seem to remember it was possible to do in the past.
Comment #15
amateescu commentedHmm, i'm not familiar with what was possible in the past, but if you can provide a patch I'd be happy to take a look at it :)