Closed (fixed)
Project:
Computed Field
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2008 at 01:58 UTC
Updated:
18 Jul 2012 at 16:31 UTC
Any chance of using a computed field as a displayable field in views 2?
Comments
Comment #1
kswan commentedIt works for me. I have the "Store using the database settings below" box checked in the Computed field and it works great with Views 2.
I haven't tried it without storing in the database.
Comment #2
BAJV commentedYes, this module works with Views 2 but I wonder why is the output is NULL? Another question is, the computed field value does not return any value in a node.
Thanks for any response.
Comment #3
mikeytown2 commentedI try to stay away from storing it in the database, I have shared hosting and the database is very slow. So it looks like I need to put it in the database. Thanks for the info.
Comment #4
kswan commentedI am considering another approach that might help http://groups.drupal.org/node/17466. As far as I know that approach is not yet available. I am considering writing a module that would allow custom field entries in Views.
There would be a few significant differences between this hypothetical module and the computed field module.
I have not started working on this module so I don't know if it is actually possible. Please respond to my post on g.d.o if you are interested or have feature requests.
Comment #5
mikeytown2 commentedI have over 100 nodes that need to be "updated" for the computed field database entry... any easy way to do this? Clicking edit and save on all of those nodes would suck; plus in the future if I need to update it again, it would be a nice thing to have.
Comment #7
glennnz commentedBump
My computed field value won't show in my View. It's being stored in the database, I can see it there.
Thanks
Glenn
--UPDATE--
This is bizarre, I am using Ubercart and uc_node_checkout to create my node which has the computed CCK field./
Before checkout, the computed field is in the database. Aftyer checkout, it's gone. The checkout process is deleting it.
My computed filed code is:
Thanks
Glenn
Comment #8
glennnz commentedUpdated status re my previous comment.
Glenn
Comment #9
deekayen commentedViews is a third party module, which makes supporting it a feature.
Comment #10
corbacho commentedfix title
Comment #11
Moonshine commentedComputed field does work with Views 2, so I'm closing this. Issue in #7 already has another issue posted:
#544488: Field content being deleted during checkout
Comment #12
sydkoh commentedComputed fields not showing in Views is a definite issue. I've been looking all over for a solution, but in every thread it seems to get dismissed.
Has someone figured out why computed fields stored in the database are not being displayed in views? Or why is it that for some people it works and for others it doesn't?