I just upgraded to Drupal 6.19.
Now new created views are not added to the node 'View Reference' drop-down listing.
Before when I created a new view they were added to the end of the drop down list rather than alphabetically.
Now new views are not listed at all.
I noticed this when creating a new view via 'node clone' and also when creating a new view from scratch.
Thanks if you can help with this quickly.
Jeff
Comments
Comment #1
danielb commentedHmmm
it might be to do with this bit of code
It is the call to viewreference_get_list_of_views() that updates the list, but it only does so if you have opted to restrict what views are available in the field settings (which is the if condition in the first line there)
So a possible fix is to call that function in an else{} at the end there?
Or just visit the page where you config the field if you want a quick fix.
sorry mate I don't have time to set this up and test it out at the moment
Comment #2
webservant316 commentedfigured it was something like that, but I don't quite understand your suggestion.
what do you mean 'restrict what views are available'? where do I do that?
and what do you man 'visit the page where you config the field'? what field and what page?
simply stated I created a new view and them went to add a page type that has your views module attached and the new view wasn't on the list.
if you could reply one more time quickly with a little more explanation that would be greatly appreciated.
Jeff
Comment #3
danielb commentedYou go to configure the "content type" and from there you can edit the properties of the cck field in question.
Comment #4
webservant316 commentedexcellent.
so whenever I create a new view I just need to go to Content Types > Edit 'Page' > Manage Fields > View Reference and add the newly created view to my list.
no problem.
Comment #5
danielb commentedIt is a bit annoying to do that - so let's leave this open until I get some time to test out the other solution I mentioned.
Comment #6
webservant316 commentedI assumed you preferred it that way so the admin had control over what views were available for particular node types.
You may not what all views available for just any node or any user who can create the node. Though there may be a better way to control all that.
None-the-less, great module. I use it a lot.
Comment #7
danielb commentedThis was a bug, it is now fixed.