Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently you simply can't configure fields when you have some either a style or a row plugin which doesn't allow that.
For example you can't use fields to groupby content: type when you use content as row plugin.
Let's introduce a checkbox that adds the feature.
Comment | File | Size | Author |
---|---|---|---|
#4 | views-1469112-4.patch | 2.31 KB | tim.plunkett |
#3 | 1469112.patch | 1.76 KB | dawehner |
#1 | 1469112-force_uses_fields.patch | 1.67 KB | dawehner |
#1 | view-export.txt | 4.43 KB | dawehner |
Comments
Comment #1
dawehnerHere is a version that works for me. Suprisingly views actually already allows that, it's just some kind of configuration issue :)
Comment #2
tim.plunkettThis could probably be one line, I think its more confusing this way. Also, there is a missing space between ||!empty
Doesn't this need a
'bool' => TRUE
for proper exporting? Though I notice from the patch context that others are missing it, perhaps that just needs a cleanup?Comment #3
dawehnerYou are right, this is definitive harder to read then in one line.
Here is a new patch.
Regarding the bool issue, i'm working on a global cleanup patch.
Comment #4
tim.plunkettI think the "force fields" checkbox should only be shown when valid. It will just be confusing if the style or row plugin use fields.
Comment #5
dawehnerOh that's a good idea. Now the patch looks RTBC
Comment #6
dawehnerCommitted to 7.x-3.x, maybe it's helpful for 6.x-3.x as well.
Comment #7
spovlot CreditAttribution: spovlot commentedWhen will this fix be released?
Comment #8
dawehnerIt is easy, somehow will write a patch, this patch will be committed and then everyone will be able to profit from it.
Comment #9
dman CreditAttribution: dman commentedI'm interested in this.
I'll have to test if it needs a re-roll?
Comment #10
spovlot CreditAttribution: spovlot commentedSo, this fix has been modified in 7.x-3.x-dev, when will it be released as 7.x-3.4? It seems that the patch has already been written and committed to the codeline. Just trying to understand the process.
Comment #11
dman CreditAttribution: dman commentedThere's no commit link, but based on the dates, with 7.x-3.3 = 2012-Feb-22 and no releases since then ... I guess yeah - we should be waiting on the next version number and it should be there.
My misunderstanding (re the re-roll) above was just confusion by me - I thought there had been a views release more recently than Feb.
Comment #12
spovlot CreditAttribution: spovlot commentedAn alternate to using the "Content" row plugin is to use fields with the "Content: Rendered Node". Within the Rendered Node field settings, you can choose Display = "Show complete entity" and then choose a View Mode. The output provides the similar results to using the Content format. (Thanks to pixelwhip from http://drupal.org/node/1619340)
Comment #13
MustangGB CreditAttribution: MustangGB commented